public class ACTarget extends Object implements org.bouncycastle.asn1.DEREncodable
Constructor and Description |
---|
ACTarget()
empty contructor
|
ACTarget(org.bouncycastle.asn1.ASN1Sequence seq)
Creates an ACTarget from a sequence
|
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.DERObject |
getDERObject()
Makes a DERObject representation.
|
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
|
String |
getIssuerSerialString()
Gets the IssuerSerial element
|
String |
getName()
Gets the name element.
|
void |
setGroup(org.bouncycastle.asn1.x509.GeneralName g)
Sets the group.
|
void |
setGroup(String s)
Sets the group
|
void |
setIssuerSerial(org.bouncycastle.asn1.x509.IssuerSerial is)
Sets the IssuerSerial
|
void |
setIssuerSerial(String s)
Sets the IssuerSerial
|
void |
setName(org.bouncycastle.asn1.x509.GeneralName n)
Sets the name
|
void |
setName(String s)
Sets the name
|
String |
toString()
Creates a string representation of the target.
|
public ACTarget()
public ACTarget(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- the SequenceIllegalArgumentException
- if there are parsing problems.public String toString()
public String getName()
public String getGroup()
public org.bouncycastle.asn1.x509.IssuerSerial getIssuerSerial()
public String getIssuerSerialString()
public void setName(org.bouncycastle.asn1.x509.GeneralName n)
n
- the namepublic void setName(String s)
s
- the name.public void setGroup(org.bouncycastle.asn1.x509.GeneralName g)
g
- the grouppublic void setGroup(String s)
s
- the group name.public void setIssuerSerial(org.bouncycastle.asn1.x509.IssuerSerial is)
is
- the IssuerSerialpublic void setIssuerSerial(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.DERObject getDERObject()
getDERObject
in interface org.bouncycastle.asn1.DEREncodable
Copyright © 2013. All rights reserved.