Class DerUtils
java.lang.Object
org.jboss.resteasy.jose.jws.util.DerUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificate
static PrivateKey
decodePrivateKey
(byte[] der) static PrivateKey
Deprecated, for removal: This API element is subject to removal in a future version.static PublicKey
decodePublicKey
(byte[] der)
-
Method Details
-
decodePrivateKey
@Deprecated(forRemoval=true, since="6.2") public static PrivateKey decodePrivateKey(InputStream is) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
Exception
-
decodePublicKey
public static PublicKey decodePublicKey(byte[] der) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException -
decodeCertificate
- Throws:
Exception
-
decodePrivateKey
public static PrivateKey decodePrivateKey(byte[] der) throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException
-