public class KeyUtil extends Object
Constructor and Description |
---|
KeyUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getEncodedPrivateKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
org.bouncycastle.asn1.ASN1Encodable privKey) |
static byte[] |
getEncodedPrivateKeyInfo(org.bouncycastle.asn1.pkcs.PrivateKeyInfo info) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
org.bouncycastle.asn1.ASN1Encodable keyData) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
byte[] keyData) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info) |
public static byte[] getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, org.bouncycastle.asn1.ASN1Encodable keyData)
public static byte[] getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] keyData)
public static byte[] getEncodedSubjectPublicKeyInfo(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info)
public static byte[] getEncodedPrivateKeyInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, org.bouncycastle.asn1.ASN1Encodable privKey)
public static byte[] getEncodedPrivateKeyInfo(org.bouncycastle.asn1.pkcs.PrivateKeyInfo info)
Copyright © 2017 BouncyCastle.org. All rights reserved.