|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.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(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(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. |
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_TimeMethod Detail |
---|
public Generalized_Time getNotBefore()
public void setNotBefore(Generalized_Time notBefore)
public Generalized_Time getNotAfter()
public void setNotAfter(Generalized_Time notAfter)
public ASN1Object toASN1Object() throws CodingException
CodingException
public void decode(ASN1Object ao) throws CodingException
ao
- - the ASN1Object to decode; must be a SEQUENCE of two
GeneralizedTime
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 |