public class KeyUtil
extends java.lang.Object
| Constructor and Description |
|---|
KeyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getEncodedPrivateKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
org.spongycastle.asn1.ASN1Encodable privKey) |
static byte[] |
getEncodedPrivateKeyInfo(org.spongycastle.asn1.pkcs.PrivateKeyInfo info) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
org.spongycastle.asn1.ASN1Encodable keyData) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
byte[] keyData) |
static byte[] |
getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.SubjectPublicKeyInfo info) |
public static byte[] getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
org.spongycastle.asn1.ASN1Encodable keyData)
public static byte[] getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
byte[] keyData)
public static byte[] getEncodedSubjectPublicKeyInfo(org.spongycastle.asn1.x509.SubjectPublicKeyInfo info)
public static byte[] getEncodedPrivateKeyInfo(org.spongycastle.asn1.x509.AlgorithmIdentifier algId,
org.spongycastle.asn1.ASN1Encodable privKey)
public static byte[] getEncodedPrivateKeyInfo(org.spongycastle.asn1.pkcs.PrivateKeyInfo info)