BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.xml.security.wsse
Interface Token

All Known Subinterfaces:
BinarySecurityToken, UsernameToken

Deprecated. please use new WS Security API

public interface Token

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

getCertificate

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

Returns:

getCertificateChain

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

Returns:

getId

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

Returns:

getPrivateKey

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

Returns:

getPublicKey

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

Returns:

getSecretKey

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

Returns:

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.