public class ACCerts extends Object implements org.bouncycastle.asn1.DEREncodable
Constructor and Description |
---|
ACCerts()
Creates an empty ACCerts object.
|
ACCerts(org.bouncycastle.asn1.ASN1Sequence seq)
Creates an ACCerts starting from a sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
addCert(org.bouncycastle.asn1.x509.X509CertificateStructure cert)
Manually adds a certificate to the list.
|
List |
getCerts()
Gets the certificates.
|
org.bouncycastle.asn1.DERObject |
getDERObject()
Makes a DERObject representation.
|
static ACCerts |
getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
static variant of the constructor.
|
public ACCerts()
public ACCerts(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- the Sequence.IllegalArgumentException
- if Certificates are not supported
or if there is an encoding error.public static ACCerts getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
ACCerts(ASN1Sequence seq)
public void addCert(org.bouncycastle.asn1.x509.X509CertificateStructure cert)
cert
- The certificate to add.public List getCerts()
public org.bouncycastle.asn1.DERObject getDERObject()
getDERObject
in interface org.bouncycastle.asn1.DEREncodable
Copyright © 2012. All Rights Reserved.