|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PkEeBuiltReqTransaction
Built version of the certificate request. Allows request parameters to be changed after creation of a request but before actioning the transaction
| Method Summary | |
|---|---|
void |
addKeyUsage(List<String> kUsage)
Merges the provided key usages to those already existing if any. |
KeyPair |
getKeyPair()
Fetch the keyPair that was created for this certificate request. |
PrivateKey |
getPrivateKey()
Fetch the private key that was created for this certificate request. |
PublicKey |
getPublicKey()
Fetch the public key that was created for this certificate request. |
void |
setSubjectAltNames(List<String> subjectAltNames)
Adds the provided alternate names to the certificate request. |
void |
setSubjectKeyIdShort(boolean form)
Determines if the short form of the subjectKey identifier is required as defined in RFC3280 |
void |
setValidity(int days)
Set the validity period for the key. |
| Methods inherited from interface com.ibm.security.certclient.PkEeReqTransaction |
|---|
getCertificateChain, getPKCS10CertReq, getSignedCert |
| Methods inherited from interface com.ibm.security.certclient.PkEeTransaction |
|---|
actionRequest |
| Method Detail |
|---|
void setValidity(int days)
throws com.ibm.security.certclient.base.PkException
days - period length in days.
com.ibm.security.certclient.base.PkException - days less than 1void setSubjectKeyIdShort(boolean form)
form - set true if the short form is required otherwise
false.void setSubjectAltNames(List<String> subjectAltNames)
subjectAltNames - List of subject alternate names. Specify null to indicate that no value is being specified.
void addKeyUsage(List<String> kUsage)
kUsage - List of key usages -
"digital_signature"
"non_repudiation"
"key_encipherment"
"data_encipherment"
"encipher_only"
"decipher_only"PrivateKey getPrivateKey()
PublicKey getPublicKey()
KeyPair getKeyPair()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||