public class Targets extends ASN1Encodable
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
}
Target,
TargetInformation| Modifier and Type | Field and Description |
|---|---|
private ASN1Sequence |
targets |
BER, DER| Modifier | Constructor and Description |
|---|---|
private |
Targets(ASN1Sequence targets)
Constructor from ASN1Sequence.
|
|
Targets(Target[] targets)
Constructor from given targets.
|
| Modifier and Type | Method and Description |
|---|---|
static Targets |
getInstance(java.lang.Object obj)
Creates an instance of a Targets from the given object.
|
Target[] |
getTargets()
Returns the targets in a
Vector. |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate ASN1Sequence targets
private Targets(ASN1Sequence targets)
targets - The ASN.1 SEQUENCE.java.lang.IllegalArgumentException - if the contents of the sequence are
invalid.public static Targets getInstance(java.lang.Object obj)
obj can be a Targets or a ASN1Sequenceobj - The object.java.lang.IllegalArgumentException - if the given object cannot be
interpreted as Target.public Target[] getTargets()
Vector.
The vector is cloned before it is returned.public DERObject toASN1Object()
Targets ::= SEQUENCE OF Target
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.