java.lang.Object
org.bouncycastle.pqc.jcajce.provider.util.KeyUtil

public class KeyUtil extends Object
  • 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

      public static byte[] getEncodedSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
    • 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)