public static class PrivateKeyCallback.IssuerSerialNumRequest extends Object implements PrivateKeyCallback.Request
Request type for private keys that are identified using an issuer/serial number.
Constructor and Description |
---|
IssuerSerialNumRequest(X500Principal issuer,
BigInteger serialNumber)
Constructs a IssuerSerialNumRequest with an issuer/serial number.
|
Modifier and Type | Method and Description |
---|---|
X500Principal |
getIssuer()
Get the issuer.
|
BigInteger |
getSerialNum()
Get the serial number.
|
public IssuerSerialNumRequest(X500Principal issuer, 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.public X500Principal getIssuer()
Get the issuer.
public BigInteger getSerialNum()
Get the serial number.
Copyright © 2017 JBoss by Red Hat. All rights reserved.