private static class SubjectCredentials.CertificateMatcher extends Object
Modifier and Type | Field and Description |
---|---|
private String |
issuerName |
private BigInteger |
serialNumber |
Modifier | Constructor and Description |
---|---|
private |
SubjectCredentials.CertificateMatcher(BigInteger serialNumber,
String issuerName) |
Modifier and Type | Method and Description |
---|---|
(package private) static SubjectCredentials.CertificateMatcher |
create(String certificateName)
Creates an object that can be compared with an X.509 certificate.
|
private static String |
getIssuerName(X509Certificate certificate)
Returns the canonical issuer name for an X.509 certificate.
|
(package private) static String |
getName(X509Certificate certificate)
Returns the unique certificate name for an X.509 certificate
|
(package private) boolean |
matches(X509Certificate certificate)
Returns true if an X.509 certificate matches the certificate name
specified in the constructor.
|
private final BigInteger serialNumber
private final String issuerName
private SubjectCredentials.CertificateMatcher(BigInteger serialNumber, String issuerName)
static SubjectCredentials.CertificateMatcher create(String certificateName)
static String getName(X509Certificate certificate)
boolean matches(X509Certificate certificate)
private static String getIssuerName(X509Certificate certificate)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.