Package org.webpki.crypto
Class CertificateUtil
java.lang.Object
org.webpki.crypto.CertificateUtil
X509 certificate related operations.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificate[]
checkCertificatePath
(X509Certificate[] certificatePath) static String
static String
static String[]
getAIACAIssuers
(X509Certificate certificate) static String[]
getAIAOCSPResponders
(X509Certificate certificate) static byte[]
getBlobFromCertificate
(X509Certificate certificate) static X509Certificate
getCertificateFromBlob
(byte[] encoded) static byte[]
getCertificateSHA1
(X509Certificate certificate) static byte[]
getCertificateSHA256
(X509Certificate certificate) static String[]
getExtendedKeyUsage
(X509Certificate certificate) static String[]
getKeyUsages
(X509Certificate certificate) static String[]
getPolicyOIDs
(X509Certificate certificate) static X509Certificate[]
getSortedPath
(X509Certificate[] certificatePath) static X509Certificate[]
getSortedPathFromBlobs
(List<byte[]> blobVector) static X509Certificate[]
getSortedPathFromPKCS7Bag
(byte[] bag) static String[]
getSubjectEmailAddresses
(X509Certificate certificate) static boolean
isTrustAnchor
(X509Certificate certificate) static void
static X509Certificate[]
makeCertificatePath
(List<byte[]> certificateBlobs)
-
Field Details
-
AIA_CA_ISSUERS
- See Also:
-
AIA_OCSP_RESPONDER
- See Also:
-
-
Method Details
-
getSortedPathFromPKCS7Bag
-
getKeyUsages
-
getSortedPath
-
getSortedPathFromBlobs
-
getPolicyOIDs
-
getSubjectEmailAddresses
-
getAIAOCSPResponders
-
getAIACAIssuers
-
getExtendedKeyUsage
-
convertRFC2253ToLegacy
-
convertLegacyToRFC2253
-
getCertificateSHA1
-
getCertificateSHA256
-
isTrustAnchor
-
main
-
getBlobFromCertificate
-
checkCertificatePath
-
getCertificateFromBlob
-
makeCertificatePath
-