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

public Class PrivateKeyCallback

extends Object
implements Callback
Class Inheritance
All Implemented Interfaces
javax.security.auth.callback.Callback
Imports
java.math.BigInteger, java.security.PrivateKey, java.security.cert.Certificate, javax.security.auth.callback.Callback, javax.security.auth.x500.X500Principal

Callback that enables an authentication module to request a certificate chain and private key from the runtime. The information specifying the chain and key may be an alias, a digest, a subject key, or an issuer ID. Other request types may be supported.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static interface
public static class

Field Summary

Modifier and TypeField and Description
private Certificate[]
private PrivateKey
private final PrivateKeyCallback.Request

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Certificate[]
public PrivateKey
public PrivateKeyCallback.Request
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chainback to summary
private Certificate[] chain
keyback to summary
private PrivateKey key
requestback to summary
private final PrivateKeyCallback.Request request

Constructor Detail

PrivateKeyCallbackback to summary
public PrivateKeyCallback(PrivateKeyCallback.Request request)

Method Detail

getChainback to summary
public Certificate[] getChain()
getKeyback to summary
public PrivateKey getKey()
getRequestback to summary
public PrivateKeyCallback.Request getRequest()
setKeyback to summary
public void setKey(PrivateKey key, Certificate[] chain)
jakarta.security.auth.message.callback back to summary

public Class PrivateKeyCallback.AliasRequest

extends Object
implements Request
Class Inheritance
  • java.lang.Object
  • jakarta.security.auth.message.callback.PrivateKeyCallback.AliasRequest
All Implemented Interfaces
jakarta.security.auth.message.callback.PrivateKeyCallback.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 Class PrivateKeyCallback.DigestRequest

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

Field Summary

Modifier and TypeField and Description
private final String
private final byte[]

Constructor Summary

AccessConstructor and Description
public
DigestRequest(byte[] digest, String algorithm)

Method Summary

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

Field Detail

algorithmback to summary
private final String algorithm
digestback to summary
private final byte[] digest

Constructor Detail

DigestRequestback to summary
public DigestRequest(byte[] digest, String algorithm)

Method Detail

getAlgorithmback to summary
public String getAlgorithm()
getDigestback to summary
public byte[] getDigest()
jakarta.security.auth.message.callback back to summary

public Class PrivateKeyCallback.IssuerSerialNumRequest

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

Field Summary

Modifier and TypeField and Description
private final X500Principal
private final BigInteger

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

issuerback to summary
private final X500Principal issuer
serialNumback to summary
private final BigInteger serialNum

Constructor Detail

IssuerSerialNumRequestback to summary
public IssuerSerialNumRequest(X500Principal issuer, BigInteger serialNum)

Method Detail

getIssuerback to summary
public X500Principal getIssuer()
getSerialNumback to summary
public BigInteger getSerialNum()
jakarta.security.auth.message.callback back to summary

public Interface PrivateKeyCallback.Request

Known Direct Implementers
jakarta.security.auth.message.callback.PrivateKeyCallback.AliasRequest, jakarta.security.auth.message.callback.PrivateKeyCallback.DigestRequest, jakarta.security.auth.message.callback.PrivateKeyCallback.SubjectKeyIDRequest, jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest

jakarta.security.auth.message.callback back to summary

public Class PrivateKeyCallback.SubjectKeyIDRequest

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

Field Summary

Modifier and TypeField and Description
private final byte[]

Constructor Summary

AccessConstructor and Description
public
SubjectKeyIDRequest(byte[] subjectKeyID)

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

subjectKeyIDback to summary
private final byte[] subjectKeyID

Constructor Detail

SubjectKeyIDRequestback to summary
public SubjectKeyIDRequest(byte[] subjectKeyID)

Method Detail

getSubjectKeyIDback to summary
public byte[] getSubjectKeyID()