public final class DerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static X509Certificate |
decodeCertificate(InputStream is) |
static PrivateKey |
decodePrivateKey(byte[] der) |
static PrivateKey |
decodePrivateKey(InputStream is) |
static PublicKey |
decodePublicKey(byte[] der) |
public static PrivateKey decodePrivateKey(InputStream is) throws Exception
Exceptionpublic static PublicKey decodePublicKey(byte[] der) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException
public static X509Certificate decodeCertificate(InputStream is) throws Exception
Exceptionpublic static PrivateKey decodePrivateKey(byte[] der) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException
Copyright © 2017 JBoss by Red Hat. All rights reserved.