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