|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.str.EncryptedKeySTRParser
public class EncryptedKeySTRParser
This implementation of STRParser is for parsing a SecurityTokenReference element, found in the KeyInfo element associated with an EncryptedKey element
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.ws.security.str.STRParser |
|---|
STRParser.REFERENCE_TYPE |
| Constructor Summary | |
|---|---|
EncryptedKeySTRParser()
|
|
| Method Summary | |
|---|---|
java.security.cert.X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference |
STRParser.REFERENCE_TYPE |
getCertificatesReferenceType()
Get how the certificates were referenced |
java.security.Principal |
getPrincipal()
Get the Principal associated with this SecurityTokenReference |
java.security.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(org.w3c.dom.Element strElement,
RequestData data,
WSDocInfo wsDocInfo,
java.util.Map<java.lang.String,java.lang.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 EncryptedKeySTRParser()
| Method Detail |
|---|
public void parseSecurityTokenReference(org.w3c.dom.Element strElement,
RequestData data,
WSDocInfo wsDocInfo,
java.util.Map<java.lang.String,java.lang.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 parameters
WSSecurityExceptionpublic java.security.cert.X509Certificate[] getCertificates()
getCertificates in interface STRParserpublic java.security.Principal getPrincipal()
getPrincipal in interface STRParserpublic java.security.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 STRParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||