com.ibm.security.certclient

Interface PkEeCertReqTransaction

    • Method Detail

      • setKeyType

        void setKeyType(String keyType)
        Set the key type to be generated for this request. Overrides current value if any.
        Parameters:
        keyType - "DSA", "RSA" "EC".
      • setKeySize

        void setKeySize(int keyBits)
                 throws com.ibm.security.certclient.base.PkException
        Set the length of the key in bits. Overrides current value if any.
        Parameters:
        keyBits - Number of bits in the key
        Throws:
        com.ibm.security.certclient.base.PkException - keysize is invalid
      • addExtKeyUsage

        void addExtKeyUsage(List<String> extKUsage)
        Merges the provided extended key usages to those already existing if any.
        Parameters:
        extKUsage - List of extendedkey usages - "ServerAuth_Id" "ClientAuth_Id" "CodeSigning_Id" "EmailProtection_Id" "IPSecEndSystem_Id" "IPSecTunnel_Id" "IPSecUser_Id" "TimeStamping_Id"
      • storeNewEntry

        void storeNewEntry(String alias,
                           String keyPwd)
                    throws com.ibm.security.certclient.base.PkException
        Add the signed certificate into the EE keystore.
        Parameters:
        alias - label for this key entry in the EE keystore. This label should be unique in the keystore.
        keyPwd - protection password for the key.
        Throws:
        com.ibm.security.certclient.base.PkException - These identify various keystore errors

© Copyright IBM Corp. 1998, 2021 All Rights Reserved.