Class KeyUtil
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.util.KeyUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static byte[]
getEncodedPrivateKeyInfo
(AlgorithmIdentifier algId, ASN1Encodable privKey) static byte[]
getEncodedPrivateKeyInfo
(AsymmetricKeyParameter privateKey, ASN1Set attributes) static byte[]
getEncodedSubjectPublicKeyInfo
(AlgorithmIdentifier algId, byte[] keyData) static byte[]
getEncodedSubjectPublicKeyInfo
(AlgorithmIdentifier algId, ASN1Encodable keyData) static byte[]
static byte[]
-
Constructor Details
-
KeyUtil
public KeyUtil()
-
-
Method Details
-
getEncodedSubjectPublicKeyInfo
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) -
getEncodedSubjectPublicKeyInfo
-
getEncodedSubjectPublicKeyInfo
-
getEncodedSubjectPublicKeyInfo
-
getEncodedPrivateKeyInfo
-
getEncodedPrivateKeyInfo
-
getEncodedPrivateKeyInfo
public static byte[] getEncodedPrivateKeyInfo(AsymmetricKeyParameter privateKey, ASN1Set attributes)
-