java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.TargetInformation |
Target information extension for attributes certificates according to RFC 3281.
SEQUENCE OF Targets
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a target information from a single targets element.
| |||||||||||
According to RFC 3281 only one targets element must be produced.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of a TargetInformation from the given object.
| |||||||||||
Returns the targets in this target information extension.
| |||||||||||
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
|
Constructs a target information from a single targets element. According to RFC 3281 only one targets element must be produced.
targets | A Targets instance. |
---|
According to RFC 3281 only one targets element must be produced. If multiple targets are given they must be merged in into one targets element.
targets | An array with Targets .
|
---|
Creates an instance of a TargetInformation from the given object.
obj
can be a TargetInformation or a ASN1Sequence
obj | The object. |
---|
IllegalArgumentException | if the given object cannot be interpreted as TargetInformation. |
---|
Returns the targets in this target information extension.
Produce an object suitable for an ASN1OutputStream. Returns:
SEQUENCE OF Targets
According to RFC 3281 only one targets element must be produced. If
multiple targets are given in the constructor they are merged into one
targets element. If this was produced from a
ASN1Sequence
the encoding is kept.