Class KeyUtil
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.util.KeyUtil
public class KeyUtil extends Object
-
Constructor Summary
Constructors Constructor Description KeyUtil() -
Method Summary
Modifier and Type Method Description static byte[]getEncodedPrivateKeyInfo(PrivateKeyInfo info)static byte[]getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey)static byte[]getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData)static byte[]getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData)static byte[]getEncodedSubjectPublicKeyInfo(SubjectPublicKeyInfo info)
-
Constructor Details
-
KeyUtil
public KeyUtil()
-
-
Method Details
-
getEncodedSubjectPublicKeyInfo
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) -
getEncodedSubjectPublicKeyInfo
-
getEncodedSubjectPublicKeyInfo
-
getEncodedPrivateKeyInfo
-
getEncodedPrivateKeyInfo
-