public class SCTConsumeCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
| Constructor and Description |
|---|
SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm)
Class constructor.
|
SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
boolean reqireDerivedKey,
int derivedKeyLength,
int nonceLength)
Class constructor.
|
SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
boolean reqireDerivedKey,
int derivedKeyLength,
int nonceLength,
WSSDecryption dec,
WSSVerification ver)
Class constructor.
|
SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
WSSDecryption dec,
WSSVerification ver)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientLabel()
Returns the client label
|
java.lang.String |
getEncryptionAlgorithm()
Returns the algorithm for the encryption
|
int |
getKeyBytesLength() |
int |
getNonceBytesLength() |
boolean |
getRequiredDKT() |
java.lang.String |
getServerLabel() |
java.lang.String |
getServiceLabel()
Returns the service label
|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets the necessary information to a
SCTConsumeCallback object. |
public SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm)
serviceLabel - service labelclientLabel - client labelencryptionAlgorithm - encryption algorithmpublic SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
WSSDecryption dec,
WSSVerification ver)
serviceLabel - service labelclientLabel - client labelencryptionAlgorithm - encryption algorithmWSSDecryption - WSSVerification - public SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
boolean reqireDerivedKey,
int derivedKeyLength,
int nonceLength)
serviceLabel - service labelclientLabel - client labelencryptionAlgorithm - encryption algorithmrequire - DerivedkeyDerivedKey - byte lengthNonce - lengthpublic SCTConsumeCallbackHandler(java.lang.String serviceLabel,
java.lang.String clientLabel,
java.lang.String encryptionAlgorithm,
boolean reqireDerivedKey,
int derivedKeyLength,
int nonceLength,
WSSDecryption dec,
WSSVerification ver)
serviceLabel - service labelclientLabel - client labelencryptionAlgorithm - encryption algorithmrequire - DerivedkeyDerivedKey - byte lengthNonce - lengthWSSDecryption - WSSVerification - public void handle(javax.security.auth.callback.Callback[] callbacks)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
SCTConsumeCallback object.handle in interface javax.security.auth.callback.CallbackHandlercallbacks - array of Callback objects provided by the
underlying security service which contains the information requested
to be retrieved or displayed.java.io.IOException - if an input or output error occurs.javax.security.auth.callback.UnsupportedCallbackException - if the implementation of this method does not support one or more
of the Callbacks specified in the callbacks parameter.public java.lang.String getServiceLabel()
public java.lang.String getClientLabel()
public java.lang.String getEncryptionAlgorithm()
public java.lang.String getServerLabel()
public boolean getRequiredDKT()
public int getKeyBytesLength()
public int getNonceBytesLength()