InboundSecurityToken, OutboundSecurityTokenAbstractInboundSecurityToken, AbstractSecurityToken, DsaKeyValueSecurityToken, ECKeyValueSecurityToken, GenericOutboundSecurityToken, KeyNameSecurityToken, RsaKeyValueSecurityToken, X509IssuerSerialSecurityToken, X509SecurityToken, X509SKISecurityToken, X509SubjectNameSecurityTokenpublic interface SecurityToken
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage) |
|
String |
getId() |
Returns the token id aka wsu:Id
|
SecurityTokenConstants.KeyIdentifier |
getKeyIdentifier() |
Returns the KeyIdentifier
|
SecurityToken |
getKeyWrappingToken() |
Returns the key wrapping token
|
PublicKey |
getPublicKey() |
Returns the public key if one exists and already initialized, null otherwise
|
Map<String,Key> |
getSecretKey() |
Returns the secret key's if already initialized, null otherwise
|
String |
getSha1Identifier() |
Returns a SHA-1 Identifier that refers to this token
|
SecurityTokenConstants.TokenType |
getTokenType() |
|
List<SecurityTokenConstants.TokenUsage> |
getTokenUsages() |
|
List<? extends SecurityToken> |
getWrappedTokens() |
|
X509Certificate[] |
getX509Certificates() |
Returns the certificate chain if one exists for this token type
|
boolean |
isAsymmetric() |
Returns the token type
|
String getId()
boolean isAsymmetric()
throws XMLSecurityException
XMLSecurityExceptionMap<String,Key> getSecretKey() throws XMLSecurityException
XMLSecurityExceptionPublicKey getPublicKey() throws XMLSecurityException
XMLSecurityExceptionX509Certificate[] getX509Certificates() throws XMLSecurityException
XMLSecurityException - if the certificates can't be retrievedSecurityToken getKeyWrappingToken() throws XMLSecurityException
XMLSecurityExceptionList<? extends SecurityToken> getWrappedTokens() throws XMLSecurityException
XMLSecurityExceptionSecurityTokenConstants.KeyIdentifier getKeyIdentifier()
SecurityTokenConstants.TokenType getTokenType()
List<SecurityTokenConstants.TokenUsage> getTokenUsages()
void addTokenUsage(SecurityTokenConstants.TokenUsage tokenUsage) throws XMLSecurityException
XMLSecurityExceptionString getSha1Identifier()
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.