Package org.opensaml.security.x509
Interface X509Credential
- All Superinterfaces:
Credential
- All Known Implementing Classes:
BasicX509Credential
,KeyStoreX509CredentialAdapter
,ServletRequestX509CredentialAdapter
,X509KeyManagerX509CredentialAdapter
An entity credential based on key material and other information (e.g. certificates and certificate
revocation lists) associated with X.509 Public Key Infrastructure.
Note that this type of credential may not contain a symmetric (secret) key, and hence
Credential.getSecretKey()
should always return null.-
Method Summary
Modifier and TypeMethodDescriptiongetCRLs()
Gets a collection of CRLs associated with the credential.Gets the public key certificate for the entity.Gets an immutable collection of certificates in the entity's trust chain.Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
Method Details
-
getEntityCertificate
Gets the public key certificate for the entity. The public key of this certificate will be the same key obtained fromCredential.getPublicKey()
.- Returns:
- the public key certificate for the entity
-
getEntityCertificateChain
Gets an immutable collection of certificates in the entity's trust chain. The entity certificate is contained within this list. No specific ordering of the certificates is guaranteed.- Returns:
- entities certificate chain
-
getCRLs
Gets a collection of CRLs associated with the credential.- Returns:
- CRLs associated with the credential
-