org.apache.geronimo.util.asn1.x509
Class V1TBSCertificateGenerator
java.lang.Object
org.apache.geronimo.util.asn1.x509.V1TBSCertificateGenerator
public class V1TBSCertificateGenerator
- extends Object
Generator for Version 1 TBSCertificateStructures.
TBSCertificate ::= SEQUENCE {
version [ 0 ] Version DEFAULT v1(0),
serialNumber CertificateSerialNumber,
signature AlgorithmIdentifier,
issuer Name,
validity Validity,
subject Name,
subjectPublicKeyInfo SubjectPublicKeyInfo,
}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
V1TBSCertificateGenerator
public V1TBSCertificateGenerator()
setSerialNumber
public void setSerialNumber(DERInteger serialNumber)
setSignature
public void setSignature(AlgorithmIdentifier signature)
setIssuer
public void setIssuer(X509Name issuer)
setStartDate
public void setStartDate(Time startDate)
setStartDate
public void setStartDate(DERUTCTime startDate)
setEndDate
public void setEndDate(Time endDate)
setEndDate
public void setEndDate(DERUTCTime endDate)
setSubject
public void setSubject(X509Name subject)
setSubjectPublicKeyInfo
public void setSubjectPublicKeyInfo(SubjectPublicKeyInfo pubKeyInfo)
generateTBSCertificate
public TBSCertificateStructure generateTBSCertificate()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.