public class CertTemplateCMP extends java.lang.Object implements ASN1Type
For a more complete specification of the full certificate template, see draft-ietf-pkix-ipki3cmp-04.txt by C. Adams and S. Farrell.
CertTemplate| Constructor and Description |
|---|
CertTemplateCMP()
Deprecated.
This constructor creates an empty full certificate template; all fields
must be set manually.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Deprecated.
Decodes an ASN1Object according to the ASN.1 type the class implements.
|
SEQUENCE |
getExtensions()
Deprecated.
|
Name |
getIssuer()
Deprecated.
|
BIT_STRING |
getIssuerUID()
Deprecated.
|
SubjectPublicKeyInfo |
getPublicKey()
Deprecated.
|
INTEGER |
getSerialNumber()
Deprecated.
|
AlgorithmID |
getSigningAlgorithm()
Deprecated.
|
Name |
getSubject()
Deprecated.
|
BIT_STRING |
getSubjectUID()
Deprecated.
|
Validity |
getValidity()
Deprecated.
|
INTEGER |
getVersion()
Deprecated.
|
void |
setExtensions(SEQUENCE extensions)
Deprecated.
|
void |
setIssuer(Name issuer)
Deprecated.
|
void |
setIssuerUID(BIT_STRING issuerUID)
Deprecated.
|
void |
setPublicKey(SubjectPublicKeyInfo publicKey)
Deprecated.
|
void |
setSerialNumber(INTEGER serialNumber)
Deprecated.
|
void |
setSigningAlgorithm(AlgorithmID signingAlg)
Deprecated.
|
void |
setSubject(Name subject)
Deprecated.
|
void |
setSubjectUID(BIT_STRING subjectUID)
Deprecated.
|
void |
setValidity(Validity validity)
Deprecated.
|
void |
setVersion(INTEGER version)
Deprecated.
|
ASN1Object |
toASN1Object()
Deprecated.
This method converts the full certificate template to an ASN.1 object for
transportation.
|
public CertTemplateCMP()
public ASN1Object toASN1Object() throws CodingException
toASN1Object in interface ASN1TypeCodingException - thrown if there is an error encoding any of the necessary valuespublic void setVersion(INTEGER version)
public INTEGER getVersion()
public void setSerialNumber(INTEGER serialNumber)
public INTEGER getSerialNumber()
public void setSigningAlgorithm(AlgorithmID signingAlg)
public AlgorithmID getSigningAlgorithm()
public void setIssuer(Name issuer)
public Name getIssuer()
public void setValidity(Validity validity)
public Validity getValidity()
public void setSubject(Name subject)
public Name getSubject()
public void setPublicKey(SubjectPublicKeyInfo publicKey)
public SubjectPublicKeyInfo getPublicKey()
public void setIssuerUID(BIT_STRING issuerUID)
public BIT_STRING getIssuerUID()
public void setSubjectUID(BIT_STRING subjectUID)
public BIT_STRING getSubjectUID()
public void setExtensions(SEQUENCE extensions)
public SEQUENCE getExtensions()
public void decode(ASN1Object obj) throws CodingException
ASN1Typedecode in interface ASN1Typeobj - the ASN.1 type as ASN1ObjectCodingException - if the ASN1Object could not be parsed