public class Targets extends ASN1Object
Target,
TargetInformation| Constructor and Description |
|---|
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.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic static Targets getInstance(java.lang.Object obj)
obj can be a Targets or a ASN1Sequence
obj - The object.java.lang.IllegalArgumentException - if the given object cannot be
interpreted as Target.public Target[] getTargets()
The vector is cloned before it is returned.
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object