Top Constructors Methods
org.bouncycastle.pqc.jcajce.provider.util

public Class KeyUtil

extends Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1Encoding, .ASN1Set, org.bouncycastle.asn1.pkcs.PrivateKeyInfo, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .SubjectPublicKeyInfo, org.bouncycastle.crypto.params.AsymmetricKeyParameter, org.bouncycastle.pqc.crypto.util.PrivateKeyInfoFactory, .SubjectPublicKeyInfoFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static byte[]
public static byte[]
public static byte[]
public static byte[]
public static byte[]
public static byte[]
public static byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

KeyUtilback to summary
public KeyUtil()

Method Detail

getEncodedPrivateKeyInfoback to summary
public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey)
getEncodedPrivateKeyInfoback to summary
public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info)
getEncodedPrivateKeyInfoback to summary
public static byte[] getEncodedPrivateKeyInfo(AsymmetricKeyParameter privateKey, ASN1Set attributes)
getEncodedSubjectPublicKeyInfoback to summary
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData)
getEncodedSubjectPublicKeyInfoback to summary
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData)
getEncodedSubjectPublicKeyInfoback to summary
public static byte[] getEncodedSubjectPublicKeyInfo(SubjectPublicKeyInfo info)
getEncodedSubjectPublicKeyInfoback to summary
public static byte[] getEncodedSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)