Class PrivateKeyCallback.IssuerSerialNumRequest
java.lang.Object
jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest
- All Implemented Interfaces:
PrivateKeyCallback.Request
- Enclosing class:
PrivateKeyCallback
public static class PrivateKeyCallback.IssuerSerialNumRequest
extends Object
implements PrivateKeyCallback.Request
A request to retrieve a certificate chain and private key by
the issuer distinguished name and certificate serial number.
-
Constructor Summary
ConstructorsConstructorDescriptionIssuerSerialNumRequest(X500Principal issuer, BigInteger serialNum) Creates a newIssuerSerialNumRequestwith the specified issuer and serial number. -
Method Summary
Modifier and TypeMethodDescriptionReturns the issuer distinguished name for this request.Returns the certificate serial number for this request.
-
Constructor Details
-
IssuerSerialNumRequest
Creates a newIssuerSerialNumRequestwith the specified issuer and serial number.- Parameters:
issuer- the issuer distinguished name of the desired certificateserialNum- the serial number of the desired certificate
-
-
Method Details
-
getIssuer
Returns the issuer distinguished name for this request.- Returns:
- the
X500Principalrepresenting the issuer
-
getSerialNum
Returns the certificate serial number for this request.- Returns:
- the serial number as a
BigInteger
-