Class SmartCardHSMRSAKey

  • All Implemented Interfaces:
    java.io.Serializable, java.security.interfaces.RSAKey, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable, KeyRef, PrivateKeyRef

    public class SmartCardHSMRSAKey
    extends SmartCardHSMPrivateKey
    implements java.security.interfaces.RSAKey
    Reference to a RSA private key on the SmartCardHSM
    Author:
    lew
    See Also:
    PrivateKeyRef, Serialized Form
    • Constructor Detail

      • SmartCardHSMRSAKey

        public SmartCardHSMRSAKey​(byte keyID,
                                  java.lang.String name,
                                  short keySize)
        SmartCardHSMRSAKey constructor
        Parameters:
        keyID - The ID which refers to the private key on the card.
        name -
        keySize -
    • Method Detail

      • getModulus

        public java.math.BigInteger getModulus()
        Specified by:
        getModulus in interface java.security.interfaces.RSAKey
      • setModulus

        public void setModulus​(java.math.BigInteger modulus)