com.ibm.crypto.pkcs11impl.provider

Interface PKCS11SecretKey

  • All Superinterfaces:
    javax.security.auth.Destroyable, java.security.Key, com.ibm.pkcs11.P11Key, PKCS11Key, javax.crypto.SecretKey, java.io.Serializable
    All Known Subinterfaces:
    GeneralPKCS11Key, PKCS11DESedeKey, PKCS11DESKey
    All Known Implementing Classes:
    GeneralKey


    public interface PKCS11SecretKey
    extends PKCS11Key, javax.crypto.SecretKey
    The interface to a PKCS11 secret key, as defined in the PKCS#11 standard
    • Method Detail

      • getSensitive

        java.lang.Boolean getSensitive()
        Returns the sensitive.
        Returns:
        true if the key is sensitive; false otherwise
      • getEncrypt

        java.lang.Boolean getEncrypt()
        Returns encrypt
        Returns:
        true if key supports encryption; false otherwise
      • getDecrypt

        java.lang.Boolean getDecrypt()
        Returns encrypt
        Returns:
        true if key supports encryption; false otherwise
      • getVerify

        java.lang.Boolean getVerify()
        Returns verify
        Returns:
        true if the key suports verification where the signature is an appendix to the data; false otherwise
      • getWrap

        java.lang.Boolean getWrap()
        Returns Wrap
        Returns:
        true if key supports wrapping; false otherwise.
      • getUnwrap

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

        java.lang.Boolean getAlwaysSensitive()
        Returns Always Sensitive
        Returns:
        true if key is Always Sensitive; false otherwise
      • getNeverExtractable

        java.lang.Boolean getNeverExtractable()
        Returns Never Extractable
        Returns:
        true if key is Never Extractable; false otherwise

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