Package org.apache.harmony.security.x509
Class Validity
- java.lang.Object
-
- org.apache.harmony.security.x509.Validity
-
public final class Validity extends Object
The class encapsulates the ASN.1 DER encoding/decoding work with Validity structure which is the part of X.509 certificate (as specified in RFC 3280 - Internet X.509 Public Key Infrastructure. Certificate and Certificate Revocation List (CRL) Profile. http://www.ietf.org/rfc/rfc3280.txt):Validity ::= SEQUENCE { notBefore Time, notAfter Time }
-
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1ASN.1 DER X.509 Validity encoder/decoder class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEncoded()Returns ASN.1 encoded form of this X.509 Validity value.DategetNotAfter()Returns the value of notAfter field of the structure.DategetNotBefore()Returns the value of notBefore field of the structure.
-
-
-
Field Detail
-
ASN1
public static final ASN1Sequence ASN1
ASN.1 DER X.509 Validity encoder/decoder class.
-
-