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

Part Number E13941-03

weblogic.xml.security.wsse
Interface Token

All Known Subinterfaces:
BinarySecurityToken, UsernameToken

Deprecated. please use new WS Security API

public interface Token


Method Summary
 X509Certificate getCertificate()
          Deprecated. Returns the certificate associated with the token if available.
 X509Certificate[] getCertificateChain()
          Deprecated. Returns the certicate chain associated with the token if available.
 String getId()
          Deprecated. Returns the ID attribute of the Token.
 PrivateKey getPrivateKey()
          Deprecated. Returns the private key associated with the token, if available.
 PublicKey getPublicKey()
          Deprecated. Returns the public key assocaited with the token, if any.
 Key getSecretKey()
          Deprecated. Returns the secret key associated with the token if available.
 

Method Detail

getId

String getId()
Deprecated. 
Returns the ID attribute of the Token. The ID is used to connect the token to signatures and encrypted keys.

Returns:

getPublicKey

PublicKey getPublicKey()
Deprecated. 
Returns the public key assocaited with the token, if any.

Returns:

getPrivateKey

PrivateKey getPrivateKey()
Deprecated. 
Returns the private key associated with the token, if available.

Returns:

getCertificate

X509Certificate getCertificate()
Deprecated. 
Returns the certificate associated with the token if available.

Returns:

getCertificateChain

X509Certificate[] getCertificateChain()
Deprecated. 
Returns the certicate chain associated with the token if available.

Returns:

getSecretKey

Key getSecretKey()
Deprecated. 
Returns the secret key associated with the token if available.

Returns:

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 10.3.3 API Reference
11g Release 1 (10.3.3)

Part Number E13941-03