PublicKey

public class PublicKey extends Key implements java.security.interfaces.RSAPublicKey

Class describes a public key object. Inherits from Key and implements from java.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

public String getAlgorithm()

Not implemented.

Returns:

null.

getEncoded

public byte[] getEncoded()

Specified by:

RSAPublicKey.getEncoded() in java.security.interfaces.RSAPublicKey interface.

getFormat

public String getFormat()

Specified by:

RSAPublicKey.getFormat() in java.security.interfaces.RSAPublicKey interface.

getModulus

public BigInteger getModulus()

Specified by:

RSAKey.getModulus() in java.security.interfaces.RSAKey interface.

getPublicExponent

public BigInteger getPublicExponent()

Specified by:

RSAPublicKey.getPublicExponent() in java.security.interfaces.RSAPublicKey interface.