PublicKey¶
-
public class
PublicKey
extends Key implements java.security.interfaces.RSAPublicKey¶ Class describes a public key object. Inherits from
Key
and implements fromjava.security.interfaces.RSAPublicKey
.Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.
Methods¶
getEncoded¶
-
public byte[]
getEncoded
()¶ Specified by:
RSAPublicKey.getEncoded()
injava.security.interfaces.RSAPublicKey
interface.
getFormat¶
-
public String
getFormat
()¶ Specified by:
RSAPublicKey.getFormat()
injava.security.interfaces.RSAPublicKey
interface.
getModulus¶
-
public BigInteger
getModulus
()¶ Specified by:
RSAKey.getModulus()
injava.security.interfaces.RSAKey
interface.
getPublicExponent¶
-
public BigInteger
getPublicExponent
()¶ Specified by:
RSAPublicKey.getPublicExponent()
injava.security.interfaces.RSAPublicKey
interface.