Top Description Inners Fields Constructors Methods
jakarta.security.auth.message.callback

public Class SecretKeyCallback

extends Object
implements Callback
Class Inheritance
All Implemented Interfaces
javax.security.auth.callback.Callback
Imports
javax.crypto.SecretKey, javax.security.auth.callback.Callback

A callback enabling an authentication module to request a secret key from the runtime, by supplying an alias. Other request types may also be supported.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static interface

Field Summary

Modifier and TypeField and Description
private SecretKey
private final SecretKeyCallback.Request

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SecretKey
public SecretKeyCallback.Request
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyback to summary
private SecretKey key
requestback to summary
private final SecretKeyCallback.Request request

Constructor Detail

SecretKeyCallbackback to summary
public SecretKeyCallback(SecretKeyCallback.Request request)

Method Detail

getKeyback to summary
public SecretKey getKey()
getRequestback to summary
public SecretKeyCallback.Request getRequest()
setKeyback to summary
public void setKey(SecretKey key)
jakarta.security.auth.message.callback back to summary

public Class SecretKeyCallback.AliasRequest

extends Object
implements Request
Class Inheritance
  • java.lang.Object
  • jakarta.security.auth.message.callback.SecretKeyCallback.AliasRequest
All Implemented Interfaces
jakarta.security.auth.message.callback.SecretKeyCallback.Request

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aliasback to summary
private final String alias

Constructor Detail

AliasRequestback to summary
public AliasRequest(String alias)

Method Detail

getAliasback to summary
public String getAlias()
jakarta.security.auth.message.callback back to summary

public Interface SecretKeyCallback.Request

Known Direct Implementers
jakarta.security.auth.message.callback.SecretKeyCallback.AliasRequest