Package org.webpki.crypto
Class X509Store
java.lang.Object
org.webpki.crypto.X509Store
Class that stores
X.509-certificates
.
Allows search and verification of certificates using certificate chains.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificates
(DistinguishedName subject) getVerifiedIssuer
(X509Certificate certificate) static X509Certificate
getVerifiedIssuer
(X509Certificate[] certificates, X509Certificate certificate) boolean
hasCertificate
(X509Certificate certificate) boolean
hasCertificate
(DistinguishedName subject) boolean
verifyCertificate
(X509Certificate certificate) boolean
verifyCertificate
(X509Certificate[] certificates, int i) boolean
verifyCertificate
(X509Certificate[] certificates, X509Certificate certificate) boolean
verifyCertificate
(X509Store chainStore, X509Certificate certificate) boolean
verifyCertificate
(X509Store chainStore1, X509Store chainStore2, X509Certificate certificate) boolean
verifyCertificates
(X509Certificate[] certificates)
-
Constructor Details
-
X509Store
-
X509Store
-
X509Store
public X509Store(byte[][] certificates)
-
-
Method Details
-
hasCertificate
-
hasCertificate
-
getCertificates
-
verifyCertificate
-
getVerifiedIssuer
-
getVerifiedIssuer
public static X509Certificate getVerifiedIssuer(X509Certificate[] certificates, X509Certificate certificate) -
verifyCertificate
-
verifyCertificate
public boolean verifyCertificate(X509Store chainStore1, X509Store chainStore2, X509Certificate certificate) -
verifyCertificate
-
verifyCertificate
-
verifyCertificates
-