Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wsee.security.saml
Class SAMLKeyProvider

java.lang.Object
  extended by weblogic.xml.crypto.common.keyinfo.BaseKeyProvider
      extended by weblogic.wsee.security.saml.SAMLKeyProvider

public class SAMLKeyProvider
extends weblogic.xml.crypto.common.keyinfo.BaseKeyProvider

KeyProvider of SAML token User: jlee Date: Oct 5, 2004 Time: 11:23:05 AM


Constructor Summary
SAMLKeyProvider(PublicKey key, PrivateKey privateKey, String assertionID, SecurityToken token)
          Create a new SAMLProvider
 
Method Summary
 weblogic.xml.crypto.api.KeySelectorResult getKey(String desiredAlg, weblogic.xml.crypto.api.KeySelector.Purpose purpose)
          create KeySelectorResult
protected  weblogic.xml.crypto.api.KeySelectorResult getResult(Key key)
          Create KeySelectorResult based on the key
 
Methods inherited from class weblogic.xml.crypto.common.keyinfo.BaseKeyProvider
getIdentifier, getKeyByIdentifier, getKeyByIssuerSerial, getKeyByName, getKeyBySTR, getKeyBySubjectName, getKeyByURI, getName, getSecurityToken, getUri, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SAMLKeyProvider

public SAMLKeyProvider(PublicKey key,
                       PrivateKey privateKey,
                       String assertionID,
                       SecurityToken token)
Create a new SAMLProvider

Parameters:
key - pulicKey to include in saml token
privateKey - private key to verify signature signed by the saml token
assertionID - assertion id of the saml assertion
token - saml token contains the saml assertion
Method Detail

getKey

public weblogic.xml.crypto.api.KeySelectorResult getKey(String desiredAlg,
                                                        weblogic.xml.crypto.api.KeySelector.Purpose purpose)
create KeySelectorResult

Parameters:
desiredAlg - algorithm
purpose - purpose of the key
Returns:
KeySelectorResult

getResult

protected weblogic.xml.crypto.api.KeySelectorResult getResult(Key key)
Create KeySelectorResult based on the key

Parameters:
key - Key
Returns:
KeySelectorResult

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04