Package com.netscape.cmscore.util
Class PFXUtils
java.lang.Object
com.netscape.cmscore.util.PFXUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.mozilla.jss.asn1.SET
createBagAttrs
(String nickName, byte[] localKeyId) Creates bag attributes.static byte[]
Creates local key identifier.static byte[]
createPFX
(String pwd, X509Certificate x509cert, byte[] privateKeyInfo) Creates a PKCS12 package.
-
Constructor Details
-
PFXUtils
public PFXUtils()
-
-
Method Details
-
createPFX
public static byte[] createPFX(String pwd, X509Certificate x509cert, byte[] privateKeyInfo) throws EBaseException Creates a PKCS12 package.- Throws:
EBaseException
-
createLocalKeyId
Creates local key identifier.- Throws:
EBaseException
-
createBagAttrs
public static org.mozilla.jss.asn1.SET createBagAttrs(String nickName, byte[] localKeyId) throws EBaseException Creates bag attributes.- Throws:
EBaseException
-