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