public class DERUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
parsePrivateKey(String algorithm,
byte[] bytes) |
static RSAPrivateKey |
parseRSAPrivateKey(byte[] bytes) |
static X509Certificate |
parseX509(byte[] x509) |
static List<X509Certificate> |
parseX509(Iterable<byte[]> encoded) |
public static X509Certificate parseX509(byte[] x509) throws CertificateException
CertificateExceptionpublic static List<X509Certificate> parseX509(Iterable<byte[]> encoded) throws CertificateException
CertificateExceptionpublic static RSAPrivateKey parseRSAPrivateKey(byte[] bytes) throws GeneralSecurityException
GeneralSecurityExceptionpublic static PrivateKey parsePrivateKey(String algorithm, byte[] bytes) throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2015. All rights reserved.