com.ibm.crypto.pkcs11impl.provider
Interface PKCS11RSAPublicKey

All Superinterfaces:
java.security.Key, PKCS11Key, PKCS11PublicKey, java.security.PublicKey, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, java.io.Serializable
All Known Implementing Classes:
RSAPublicKey

public interface PKCS11RSAPublicKey
extends PKCS11PublicKey, java.security.interfaces.RSAPublicKey

Contains the basic things needed for a PKCS 11 RSA public key. It is a subclass of PKCS11PublicKey.


Field Summary
static long serialVersionUID
           
 
Method Summary
 java.math.BigInteger getModulus()
          Returns the modulus.
 java.lang.Integer getModulusBits()
          Returns the modulus bits
 java.math.BigInteger getPublicExponent()
          Returns the public exponent e
 
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11PublicKey
getEncrypt, getSubject, getVerify, getVerifyRecover, getWrap
 
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11Key
getDerive, getEndDate, getID, getKeyType, getLabel, getLocal, getModifiable, getObject, getPrivate, getSession, getStartDate, getToken
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

getModulus

java.math.BigInteger getModulus()
Returns the modulus.

Specified by:
getModulus in interface java.security.interfaces.RSAKey
Returns:
the modulus n

getModulusBits

java.lang.Integer getModulusBits()
Returns the modulus bits

Returns:
the length in bits of modulus n

getPublicExponent

java.math.BigInteger getPublicExponent()
Returns the public exponent e

Specified by:
getPublicExponent in interface java.security.interfaces.RSAPublicKey
Returns:
the public exponent e