|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.X509v2AttributeCertificateBuilder
public class X509v2AttributeCertificateBuilder
class to produce an X.509 Version 2 AttributeCertificate.
| Constructor Summary | |
|---|---|
X509v2AttributeCertificateBuilder(AttributeCertificateHolder holder,
AttributeCertificateIssuer issuer,
java.math.BigInteger serialNumber,
java.util.Date notBefore,
java.util.Date notAfter)
|
|
| Method Summary | |
|---|---|
X509v2AttributeCertificateBuilder |
addAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType,
org.bouncycastle.asn1.ASN1Encodable attrValue)
Add an attribute to the certification request we are building. |
X509v2AttributeCertificateBuilder |
addAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType,
org.bouncycastle.asn1.ASN1Encodable[] attrValues)
Add an attribute with multiple values to the certification request we are building. |
X509v2AttributeCertificateBuilder |
addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
org.bouncycastle.asn1.ASN1Encodable value)
Add a given extension field for the standard extensions tag |
X509AttributeCertificateHolder |
build(org.bouncycastle.operator.ContentSigner signer)
Generate an X509 certificate, based on the current issuer and subject using the passed in signer. |
void |
setIssuerUniqueId(boolean[] iui)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder holder,
AttributeCertificateIssuer issuer,
java.math.BigInteger serialNumber,
java.util.Date notBefore,
java.util.Date notAfter)
| Method Detail |
|---|
public X509v2AttributeCertificateBuilder addAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType,
org.bouncycastle.asn1.ASN1Encodable attrValue)
attrType - the OID giving the type of the attribute.attrValue - the ASN.1 structure that forms the value of the attribute.
public X509v2AttributeCertificateBuilder addAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier attrType,
org.bouncycastle.asn1.ASN1Encodable[] attrValues)
attrType - the OID giving the type of the attribute.attrValues - an array of ASN.1 structures that form the value of the attribute.
public void setIssuerUniqueId(boolean[] iui)
public X509v2AttributeCertificateBuilder addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
org.bouncycastle.asn1.ASN1Encodable value)
throws CertIOException
oid - the OID defining the extension type.isCritical - true if the extension is critical, false otherwise.value - the ASN.1 structure that forms the extension's value.
CertIOExceptionpublic X509AttributeCertificateHolder build(org.bouncycastle.operator.ContentSigner signer)
signer - the content signer to be used to generate the signature validating the certificate.
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||