public final class KeyAuthoritySupport extends Object
PKIXValidationInformation from a KeyAuthority.| Modifier and Type | Class and Description |
|---|---|
static class |
KeyAuthoritySupport.KeyAuthorityPKIXValidationInformation
Basic implementation of
PKIXValidationInformation. |
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_AUTHORITY_VERIFY_DEPTH_DEFAULT
Default value for Shibboleth KeyAuthority verify depth.
|
| Modifier | Constructor and Description |
|---|---|
private |
KeyAuthoritySupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PKIXValidationInformation |
extractPKIXValidationInfo(KeyAuthority keyAuthority)
Extracts PKIX validation information from the Shibboleth KeyAuthority metadata extension element.
|
private static Collection<X509Certificate> |
getX509Certificates(KeyInfo keyInfo)
Extract certificates from a KeyInfo element.
|
private static Collection<X509CRL> |
getX509CRLs(KeyInfo keyInfo)
Extract CRL's from a KeyInfo element.
|
public static final int KEY_AUTHORITY_VERIFY_DEPTH_DEFAULT
private KeyAuthoritySupport()
@Nullable public static PKIXValidationInformation extractPKIXValidationInfo(@Nullable KeyAuthority keyAuthority) throws SecurityException
keyAuthority - the Shibboleth KeyAuthority element from which to extract informationSecurityException - thrown if the key, certificate, or CRL information is represented in an unsupported
format@Nonnull private static Collection<X509Certificate> getX509Certificates(@Nullable KeyInfo keyInfo) throws SecurityException
keyInfo - the KeyInfo instance from which to extract certificatesSecurityException - thrown if the certificate information is represented in an unsupported format@Nonnull private static Collection<X509CRL> getX509CRLs(@Nullable KeyInfo keyInfo) throws SecurityException
keyInfo - the KeyInfo instance from which to extract CRL'sSecurityException - thrown if the CRL information is represented in an unsupported formatCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.