STRParser.REFERENCE_TYPE| Constructor and Description |
|---|
DerivedKeyTokenSTRParser() |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference
|
STRParser.REFERENCE_TYPE |
getCertificatesReferenceType()
Get how the certificates were referenced
|
Principal |
getPrincipal()
Get the Principal associated with this SecurityTokenReference
|
PublicKey |
getPublicKey()
Get the PublicKey associated with this SecurityTokenReference
|
byte[] |
getSecretKey()
Get the Secret Key associated with this SecurityTokenReference
|
boolean |
isTrustedCredential()
Get whether the returned credential is already trusted or not.
|
void |
parseSecurityTokenReference(Element strElement,
RequestData data,
WSDocInfo wsDocInfo,
Map<String,Object> parameters)
Parse a SecurityTokenReference element and extract credentials.
|
public void parseSecurityTokenReference(Element strElement, RequestData data, WSDocInfo wsDocInfo, Map<String,Object> parameters) throws WSSecurityException
parseSecurityTokenReference in interface STRParserstrElement - The SecurityTokenReference elementdata - the RequestData associated with the requestwsDocInfo - The WSDocInfo object to access previous processing resultsparameters - A set of implementation-specific parametersWSSecurityExceptionpublic X509Certificate[] getCertificates()
getCertificates in interface STRParserpublic Principal getPrincipal()
getPrincipal in interface STRParserpublic PublicKey getPublicKey()
getPublicKey in interface STRParserpublic byte[] getSecretKey()
getSecretKey in interface STRParserpublic boolean isTrustedCredential()
isTrustedCredential in interface STRParserpublic STRParser.REFERENCE_TYPE getCertificatesReferenceType()
getCertificatesReferenceType in interface STRParserCopyright © 2018 JBoss by Red Hat. All rights reserved.