PublicKey¶
- public class PublicKey extends Key implements java.security.interfaces.RSAPublicKey¶
Class describes a public key object. Inherits from
Keyand 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¶
getAlgorithm¶
getEncoded¶
- public byte[] getEncoded()¶
Specified by:
RSAPublicKey.getEncoded()injava.security.interfaces.RSAPublicKeyinterface.
getFormat¶
- public String getFormat()¶
Specified by:
RSAPublicKey.getFormat()injava.security.interfaces.RSAPublicKeyinterface.
getModulus¶
- public BigInteger getModulus()¶
Specified by:
RSAKey.getModulus()injava.security.interfaces.RSAKeyinterface.
getPublicExponent¶
- public BigInteger getPublicExponent()¶
Specified by:
RSAPublicKey.getPublicExponent()injava.security.interfaces.RSAPublicKeyinterface.