|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectissrg.ac.AttCertValidityPeriod
public class AttCertValidityPeriod
This class represents the AttCertValidityPeriod ASN.1 construct, which is basically a sequence of two GeneralizedTime.
Field Summary | |
---|---|
protected Generalized_Time |
notAfterTime
|
protected Generalized_Time |
notBeforeTime
|
Constructor Summary | |
---|---|
protected |
AttCertValidityPeriod()
|
|
AttCertValidityPeriod(iaik.asn1.ASN1Object ao)
This constructor builds a AttCertValidityPeriod from a given ASN1Object. |
|
AttCertValidityPeriod(AttCertValidityPeriod acvp)
This constructor copies AttCertValidityPeriod. |
|
AttCertValidityPeriod(Generalized_Time notBeforeTime,
Generalized_Time notAfterTime)
This constructor builds a AttCertValidityPeriod given two GeneralizedTimes, one for notBefore, one for notAfter. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decode(iaik.asn1.ASN1Object ao)
This method decodes a given ASN1Object. |
Generalized_Time |
getNotAfter()
Returns notAfter time. |
Generalized_Time |
getNotBefore()
Returns notBefore time. |
void |
setNotAfter(Generalized_Time notAfter)
Sets notAfter time. |
void |
setNotBefore(Generalized_Time notBefore)
Sets notBefore time. |
iaik.asn1.ASN1Object |
toASN1Object()
This method returns the ASN1Object of AttCertValidityPeriod. |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String ident)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Generalized_Time notBeforeTime
protected Generalized_Time notAfterTime
Constructor Detail |
---|
protected AttCertValidityPeriod()
public AttCertValidityPeriod(AttCertValidityPeriod acvp)
acvp
- - the AttCertValidityPeriod to copypublic AttCertValidityPeriod(Generalized_Time notBeforeTime, Generalized_Time notAfterTime)
notBeforeTime
- - the notBefore Generalized_TimenotAfterTime
- - the notAfter Generalized_Timepublic AttCertValidityPeriod(iaik.asn1.ASN1Object ao) throws iaik.asn1.CodingException
ao
- - the ASN1Object containing a sequence of two GeneralizedTimes
iaik.asn1.CodingException
Method Detail |
---|
public Generalized_Time getNotBefore()
public void setNotBefore(Generalized_Time notBefore)
public Generalized_Time getNotAfter()
public void setNotAfter(Generalized_Time notAfter)
public iaik.asn1.ASN1Object toASN1Object() throws iaik.asn1.CodingException
toASN1Object
in interface iaik.asn1.ASN1Type
iaik.asn1.CodingException
public void decode(iaik.asn1.ASN1Object ao) throws iaik.asn1.CodingException
decode
in interface iaik.asn1.ASN1Type
ao
- - the ASN1Object to decode; must be a SEQUENCE of two
GeneralizedTime
iaik.asn1.CodingException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String ident)
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |