public class ACTarget
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
Constructor and Description |
---|
ACTarget()
empty contructor
|
ACTarget(org.bouncycastle.asn1.ASN1Sequence seq)
Creates an ACTarget from a sequence
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup()
Gets the group element
|
static ACTarget |
getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
Static variant of the constructor.
|
org.bouncycastle.asn1.x509.IssuerSerial |
getIssuerSerial()
Gets the IssuerSerial
|
java.lang.String |
getIssuerSerialString()
Gets the IssuerSerial element
|
java.lang.String |
getName()
Gets the name element.
|
void |
setGroup(org.bouncycastle.asn1.x509.GeneralName g)
Sets the group.
|
void |
setGroup(java.lang.String s)
Sets the group
|
void |
setIssuerSerial(org.bouncycastle.asn1.x509.IssuerSerial is)
Sets the IssuerSerial
|
void |
setIssuerSerial(java.lang.String s)
Sets the IssuerSerial
|
void |
setName(org.bouncycastle.asn1.x509.GeneralName n)
Sets the name
|
void |
setName(java.lang.String s)
Sets the name
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Makes a DERObject representation.
|
java.lang.String |
toString()
Creates a string representation of the target.
|
public ACTarget()
public ACTarget(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- the Sequencejava.lang.IllegalArgumentException
- if there are parsing problems.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public java.lang.String getGroup()
public org.bouncycastle.asn1.x509.IssuerSerial getIssuerSerial()
public java.lang.String getIssuerSerialString()
public void setName(org.bouncycastle.asn1.x509.GeneralName n)
n
- the namepublic void setName(java.lang.String s)
s
- the name.public void setGroup(org.bouncycastle.asn1.x509.GeneralName g)
g
- the grouppublic void setGroup(java.lang.String s)
s
- the group name.public void setIssuerSerial(org.bouncycastle.asn1.x509.IssuerSerial is)
is
- the IssuerSerialpublic void setIssuerSerial(java.lang.String s)
s
- a textual representation of the IssuerSerial, in the from
subject:serialpublic static ACTarget getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
ACTarget(ASN1Sequence seq)
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
Copyright © 2013. All Rights Reserved.