Skip navigation links

Oracle Application Server
Web Services Java API Reference
10g Release 3 (10.1.3.1.0)

B28977-01


oracle.webservices.security.callback
Class X509TokenCallback

java.lang.Object
  extended by oracle.webservices.security.callback.X509TokenCallback

All Implemented Interfaces:
Callback, BinaryTokenCallback

public class X509TokenCallback
extends Object
implements BinaryTokenCallback

Constructor Summary
X509TokenCallback()
          Constructor
X509TokenCallback(String prompt)
          Constructor

 

Method Summary
 byte[] getBinaryToken()
          Get the binary token
 String getPrompt()
          Get the prompt
 void setBinaryToken(byte[] cert)
          Set the binary token

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

X509TokenCallback

public X509TokenCallback()
Constructor

X509TokenCallback

public X509TokenCallback(String prompt)
Constructor
Parameters:
prompt - for getting the X509 token

Method Detail

setBinaryToken

public void setBinaryToken(byte[] cert)
Set the binary token
Specified by:
setBinaryToken in interface BinaryTokenCallback
Parameters:
cert - Encoded form of certificate
Throws:
IllegalArgumentException - if binary token is null

getBinaryToken

public byte[] getBinaryToken()
Get the binary token
Specified by:
getBinaryToken in interface BinaryTokenCallback
Returns:
Encoded form of certificate

getPrompt

public String getPrompt()
Get the prompt
Returns:
prompt for getting the X509 token

Skip navigation links

Copyright © 2006, Oracle. All Rights Reserved.