|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.str.DerivedKeyTokenSTRParser
public class DerivedKeyTokenSTRParser
This implementation of STRParser is for parsing a SecurityTokenReference element associated with a DerivedKeyToken element.
Constructor Summary | |
---|---|
DerivedKeyTokenSTRParser()
|
Method Summary | |
---|---|
X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DerivedKeyTokenSTRParser()
Method Detail |
---|
public void parseSecurityTokenReference(Element strElement, RequestData data, WSDocInfo wsDocInfo, Map<String,Object> parameters) throws WSSecurityException
parseSecurityTokenReference
in interface STRParser
strElement
- The SecurityTokenReference elementdata
- the RequestData associated with the requestwsDocInfo
- The WSDocInfo object to access previous processing resultsparameters
- A set of implementation-specific parameters
WSSecurityException
public X509Certificate[] getCertificates()
getCertificates
in interface STRParser
public Principal getPrincipal()
getPrincipal
in interface STRParser
public PublicKey getPublicKey()
getPublicKey
in interface STRParser
public byte[] getSecretKey()
getSecretKey
in interface STRParser
public boolean isTrustedCredential()
isTrustedCredential
in interface STRParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |