public class RsaKeyValueSecurityToken extends AbstractInboundSecurityToken
keyTable, tokenUsages
Constructor and Description |
---|
RsaKeyValueSecurityToken(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType,
InboundSecurityContext inboundSecurityContext) |
Modifier and Type | Method and Description |
---|---|
PublicKey |
getPublicKey()
Returns the public key if one exists and already initialized, null otherwise
|
SecurityTokenConstants.TokenType |
getTokenType() |
boolean |
isAsymmetric()
Returns the token type
|
addTokenUsage, addWrappedToken, getElementPath, getKey, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent, verify
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates
public RsaKeyValueSecurityToken(org.apache.xml.security.binding.xmldsig.RSAKeyValueType rsaKeyValueType, InboundSecurityContext inboundSecurityContext)
public PublicKey getPublicKey() throws XMLSecurityException
SecurityToken
getPublicKey
in interface SecurityToken
getPublicKey
in class AbstractSecurityToken
XMLSecurityException
public boolean isAsymmetric()
SecurityToken
isAsymmetric
in interface SecurityToken
isAsymmetric
in class AbstractSecurityToken
public SecurityTokenConstants.TokenType getTokenType()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.