public class Controls
extends java.lang.Object
For a more complete specification of the full certificate template, see draft-ietf-pkix-ipki3cmp-04.txt by C. Adams and S. Farrell.
Controls| Constructor and Description |
|---|
Controls()
Deprecated.
This constructor creates an empty full certificate template; all fields
must be set manually.
|
Controls(ASN1Object template)
Deprecated.
This constructor decodes an ASN.1 representation of a full certificate
template.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getArchiveKey()
Deprecated.
|
GeneralName |
getOldCertIdIssuer()
Deprecated.
|
INTEGER |
getOldCertIdSerialNumber()
Deprecated.
|
java.security.PublicKey |
getProtocolEncryptionKey()
Deprecated.
This method gets the protocol encryption key.
|
boolean |
getPublicationInfo()
Deprecated.
|
void |
setArchiveKey(boolean archiveKey)
Deprecated.
|
void |
setOldCertId(GeneralName issuer,
INTEGER serialNumber)
Deprecated.
|
void |
setProtocolEncryptionKey(java.security.PublicKey protocolEncryptionKey)
Deprecated.
This method sets the protocol encryption key.
|
void |
setPublicationInfo(boolean publicKey)
Deprecated.
|
ASN1Object |
toASN1Object()
Deprecated.
This method converts the full certificate template to an ASN.1 object for
transportation.
|
public Controls()
public Controls(ASN1Object template) throws CodingException
template - the ASN.1 representationCodingException - thrown if the ASN.1 object does not represent a full certificate
template or cannot be decodedpublic ASN1Object toASN1Object() throws CodingException
CodingException - thrown if there is an error encoding any of the necessary valuespublic void setProtocolEncryptionKey(java.security.PublicKey protocolEncryptionKey)
protocolEncryptionKey - the protocol encryption keypublic java.security.PublicKey getProtocolEncryptionKey()
public void setPublicationInfo(boolean publicKey)
public boolean getPublicationInfo()
public void setArchiveKey(boolean archiveKey)
public boolean getArchiveKey()
public void setOldCertId(GeneralName issuer, INTEGER serialNumber)
public GeneralName getOldCertIdIssuer()
public INTEGER getOldCertIdSerialNumber()