org.bouncycastle.jcajce.provider.asymmetric.util
Class KeyUtil
java.lang.Object
|
+--org.bouncycastle.jcajce.provider.asymmetric.util.KeyUtil
- public class KeyUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyUtil
public KeyUtil()
getEncodedSubjectPublicKeyInfo
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId,
ASN1Encodable keyData)
getEncodedSubjectPublicKeyInfo
public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId,
byte[] keyData)
getEncodedSubjectPublicKeyInfo
public static byte[] getEncodedSubjectPublicKeyInfo(SubjectPublicKeyInfo info)
getEncodedPrivateKeyInfo
public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId,
ASN1Encodable privKey)
getEncodedPrivateKeyInfo
public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info)