| java.lang.Object com.sun.xml.wss.impl.misc.KeyResolver
KeyResolver | public class KeyResolver (Code) | | |
Method Summary | |
public static Key | getKey(KeyInfoHeaderBlock keyInfo, boolean sig, FilterProcessingContext context) If a SecurityTokenReference is present inside the KeyInfo,
the return value is an instance of PrivateKey (if sig is false) or
PublicKey (if sig is true). | public static Key | processSTR(KeyInfoHeaderBlock keyInfo, boolean sig, FilterProcessingContext context) | public static Key | processSecurityTokenReference(KeyInfoHeaderBlock keyInfo, boolean sig, FilterProcessingContext context) | public static Key | resolveKeyValue(SecurableSoapMessage secureMsg, KeyValue keyValue, boolean sig, FilterProcessingContext context) | public static Key | resolveSamlAssertion(SecurableSoapMessage secureMsg, Element samlAssertion, boolean sig, FilterProcessingContext context, String assertionID) | public static Key | resolveX509Data(SecurableSoapMessage secureMsg, X509Data x509Data, boolean sig, FilterProcessingContext context) | public static Key | resolveX509Token(SecurableSoapMessage secureMsg, X509SecurityToken token, boolean sig, FilterProcessingContext context) |
getKey | public static Key getKey(KeyInfoHeaderBlock keyInfo, boolean sig, FilterProcessingContext context) throws XWSSecurityException(Code) | | If a SecurityTokenReference is present inside the KeyInfo,
the return value is an instance of PrivateKey (if sig is false) or
PublicKey (if sig is true).
Else If a KeyName is present inside the KeyInfo, then the return
value is an instance of SecretKey.
Else, an XWSSecurityException is thrown.
Parameters: keyInfo - Parameters: sig - true if this method is called by a signature verifier, false ifcalled by a decrypter Parameters: secureMsg - |
|
|