Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.wsee.security.saml
Class SAMLKeyProvider

java.lang.Object
  extended by weblogic.xml.crypto.common.keyinfo.BaseKeyProvider
      extended by weblogic.wsee.security.saml.SAMLKeyProvider
All Implemented Interfaces:
KeyProvider

public class SAMLKeyProvider
extends BaseKeyProvider

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


Field Summary
 
Fields inherited from interface weblogic.xml.crypto.common.keyinfo.KeyProvider
AES_ALGORITHMS, DSA_ALGORITHMS, RSA_ALGORITHMS, TRIPLEDES_ALGORITHMS
 
Constructor Summary
SAMLKeyProvider(PublicKey key, PrivateKey privateKey, String assertionID, SecurityToken token)
          Create a new SAMLProvider
 
Method Summary
 KeySelectorResult getKey(String desiredAlg, KeySelector.Purpose purpose)
          create KeySelectorResult
protected  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 KeySelectorResult getKey(String desiredAlg,
                                KeySelector.Purpose purpose)
create KeySelectorResult

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

getResult

protected KeySelectorResult getResult(Key key)
Create KeySelectorResult based on the key

Parameters:
key - Key
Returns:
KeySelectorResult

Copyright 1996, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01