java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.Targets |
Targets structure used in target information extension for attribute certificates from RFC 3281.
Targets ::= SEQUENCE OF Target Target ::= CHOICE { targetName [0] GeneralName, targetGroup [1] GeneralName, targetCert [2] TargetCert } TargetCert ::= SEQUENCE { targetCertificate IssuerSerial, targetName GeneralName OPTIONAL, certDigestInfo ObjectDigestInfo OPTIONAL }
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor from given targets.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of a Targets from the given object.
| |||||||||||
Returns the targets in a
Vector . | |||||||||||
Produce an object suitable for an ASN1OutputStream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
Constructor from given targets.
The vector is copied.
targets | A Vector of Target s. |
---|
IllegalArgumentException | if the vector contains not only Targets. |
---|
Creates an instance of a Targets from the given object.
obj
can be a Targets or a ASN1Sequence
obj | The object. |
---|
IllegalArgumentException | if the given object cannot be interpreted as Target. |
---|
Returns the targets in a Vector
.
The vector is cloned before it is returned.
Produce an object suitable for an ASN1OutputStream. Returns:
Targets ::= SEQUENCE OF Target