Package org.apache.harmony.security.x509
Class CertificateList
java.lang.Object
org.apache.harmony.security.x509.CertificateList
public final class CertificateList extends Object
The class encapsulates the ASN.1 DER encoding/decoding work
with the X.509 CRL. Its ASN notation is as follows
(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):
CertificateList ::= SEQUENCE {
tbsCertList TBSCertList,
signatureAlgorithm AlgorithmIdentifier,
signatureValue BIT STRING
}
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1X.509 CertList encoder/decoder. -
Constructor Summary
Constructors Constructor Description CertificateList(TBSCertList tbsCertList, AlgorithmIdentifier signatureAlgorithm, byte[] signatureValue) -
Method Summary
Modifier and Type Method Description byte[]getEncoded()Returns ASN.1 encoded form of this X.509 TBSCertList value.byte[]getSignatureValue()Returns the value of signatureValue field of the structure.TBSCertListgetTbsCertList()Returns the value of tbsCertList field of the structure.StringtoString()Returns a string containing a concise, human-readable description of this object.
-
Field Details
-
ASN1
X.509 CertList encoder/decoder.
-
-
Constructor Details
-
CertificateList
public CertificateList(TBSCertList tbsCertList, AlgorithmIdentifier signatureAlgorithm, byte[] signatureValue)
-
-
Method Details
-
getTbsCertList
Returns the value of tbsCertList field of the structure. -
getSignatureValue
public byte[] getSignatureValue()Returns the value of signatureValue field of the structure. -
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod. -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 TBSCertList value.
-