com.ibm.crypto.pkcs11impl.provider

Interface PKCS11PrivateKey

    • Method Detail

      • getSubject

        byte[] getSubject()
        Returns the subject.
        Returns:
        the subject
      • getSensitive

        java.lang.Boolean getSensitive()
        Returns sensitive
        Returns:
        true if sensitive; false otherwise
      • getSecondaryAuth

        java.lang.Boolean getSecondaryAuth()
        Returns secondary auth
        Returns:
        true if the key requires a secondary authentication to take place before its use it allowed.
      • getAuthPinFlags

        java.lang.Integer getAuthPinFlags()
        Returns the auth pin flags
        Returns:
        mask indicating the current state of the secondary authentication PIN.
      • getDecrypt

        java.lang.Boolean getDecrypt()
        Returns decrypt
        Returns:
        true if key supports decryption
      • getSign

        java.lang.Boolean getSign()
        Returns sign
        Returns:
        true if key supports signatures; false otherwise
      • getSignRecover

        java.lang.Boolean getSignRecover()
        Returns sign recover
        Returns:
        true if key supports signatures where the data can be recovered from the signature; false otherwise
      • getUnwrap

        java.lang.Boolean getUnwrap()
        Returns unwrap
        Returns:
        true if key supports unwrapping; false otherwise
      • getExtractable

        java.lang.Boolean getExtractable()
        Returns if this key can be wrapped by another key
        Returns:
        true if key is can be wrapped by another key; false otherwise
      • getAlwaysSensitive

        java.lang.Boolean getAlwaysSensitive()
        Returns always sensitive
        Returns:
        true if key has always had the CKA_SENSITIVE attribute set to TRUE; false otherwise
      • getNeverExtractable

        java.lang.Boolean getNeverExtractable()
        Returns never extractable
        Returns:
        true if key has never had the CKA_EXTRACTABLE attribute set to TRUE; false otherwise
      • setKeyAsToken

        void setKeyAsToken(boolean token)
        Sets the token attribute within a Java software key

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