Methods
| Modifier and Type |
Method and Description |
private X509Certificate |
getCertificate(String fileName) |
private Collection<X509Certificate> |
getCertificates(String... certNames) |
private BasicX509Credential |
getCredential(String entityCertFileName,
String... chainMembers) |
private X509CRL |
getCRL(String fileName) |
private Collection<X509CRL> |
getCRLS(String... crlNames) |
private InputStream |
getInputStream(String fileName) |
private PKIXValidationInformation |
getPKIXInfoSet(Collection<X509Certificate> certs,
Collection<X509CRL> crls,
Integer depth) |
private org.opensaml.security.x509.impl.CertPathPKIXValidationOptions |
getPKIXOptions(Set<String> initialPolicies,
boolean policyMappingInhibit,
boolean anyPolicyInhibit) |
protected void |
setUp() |
void |
testAnyPolicy() |
void |
testEmptyCRL() |
void |
testEntityCertExpired() |
void |
testExpiredCRL() |
void |
testExplicitPolicy() |
void |
testExplicitPolicyMap() |
void |
testExplicitPolicyNoMap() |
void |
testGood() |
void |
testGoodPathInCred() |
void |
testGoodPathInCredNoAnchors() |
void |
testIncompleteCRLsForChain() |
void |
testIncompletePath() |
void |
testIncompletePathInCred() |
void |
testNoAnchors() |
void |
testNonRevokedCertWithNonEmptyCRL() |
void |
testNonRootIssuerAsTrustAnchor() |
void |
testPathTooDeep() |
void |
testRevokedV1() |
void |
testRevokedV1CRLinCred() |
void |
testRevokedV2() |
void |
testRevokedV2CRLinCred() |
private void |
testValidateFailure(String message,
PKIXValidationInformation info,
X509Credential cred) |
private void |
testValidateFailure(String message,
PKIXValidationInformation info,
X509Credential cred,
org.opensaml.security.x509.impl.CertPathPKIXValidationOptions opts) |
private void |
testValidateProcessingError(String message,
PKIXValidationInformation info,
X509Credential cred) |
private void |
testValidateSuccess(String message,
PKIXValidationInformation info,
X509Credential cred)
Helper methods.
|
private void |
testValidateSuccess(String message,
PKIXValidationInformation info,
X509Credential cred,
org.opensaml.security.x509.impl.CertPathPKIXValidationOptions opts) |