public static class PrivateKeyCallback.IssuerSerialNumRequest extends java.lang.Object implements PrivateKeyCallback.Request
Request type for private keys that are identified using an issuer/serial number.
| Modifier and Type | Field and Description |
|---|---|
private javax.security.auth.x500.X500Principal |
issuer |
private java.math.BigInteger |
serialNumber |
| Constructor and Description |
|---|
IssuerSerialNumRequest(javax.security.auth.x500.X500Principal issuer,
java.math.BigInteger serialNumber)
Constructs a IssuerSerialNumRequest with an issuer/serial number.
|
| Modifier and Type | Method and Description |
|---|---|
javax.security.auth.x500.X500Principal |
getIssuer()
Get the issuer.
|
java.math.BigInteger |
getSerialNum()
Get the serial number.
|
private javax.security.auth.x500.X500Principal issuer
private java.math.BigInteger serialNumber
public IssuerSerialNumRequest(javax.security.auth.x500.X500Principal issuer,
java.math.BigInteger serialNumber)
Constructs a IssuerSerialNumRequest with an issuer/serial number.
The issuer/serial number is used to identify a public key certificate. The corresponding private key is returned in the callback. The corresponding certificate chain for the private key is also returned. If the issuer/serialNumber parameters are null, the handler of the callback relies on its own defaults.
issuer - The X500Principal name of the certificate issuer, or null.serialNumber - The serial number of the certificate, or null.