public class X509PKIUtil extends Object
| Constructor and Description |
|---|
X509PKIUtil() |
| Modifier and Type | Method and Description |
|---|---|
static X509Certificate |
parseX509Certificate(byte[] certificate)
generate cerificate using X.509 Certifcate factory
|
static X509CRL |
parseX509CRLCertificate(byte[] crlCertificate) |
static boolean |
validateX509CRL(X509CRL crl) |
public static X509Certificate parseX509Certificate(byte[] certificate) throws CertificateException
certificate - array of byte representing the certificate fileCertificateException - thrown if certificate parse failpublic static boolean validateX509CRL(X509CRL crl) throws CRLException
CRLExceptionpublic static X509CRL parseX509CRLCertificate(byte[] crlCertificate) throws CertificateException, CRLException
CertificateExceptionCRLExceptionCopyright © 2018 Vitam. All rights reserved.