com.ibm.crypto.pkcs11impl.provider

Interface PKCS11RSAPublicKey

  • All Superinterfaces:
    java.security.Key, com.ibm.pkcs11.P11Key, 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.
    • 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

© Portions Copyright 2003, 2017 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2017, Oracle and/or its affiliates. All rights reserved.