|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.x509.sigi.NameOrPseudonym
public class NameOrPseudonym
Structure for a name or pseudonym.
NameOrPseudonym ::= CHOICE { surAndGivenName SEQUENCE { surName DirectoryString, givenName SEQUENCE OF DirectoryString }, pseudonym DirectoryString }
PersonalData
Field Summary |
---|
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
NameOrPseudonym(DirectoryString pseudonym)
Constructor from DERString. |
|
NameOrPseudonym(DirectoryString surname,
ASN1Sequence givenName)
Constructor from a given details. |
|
NameOrPseudonym(java.lang.String pseudonym)
Constructor from a given details. |
Method Summary | |
---|---|
DirectoryString[] |
getGivenName()
|
static NameOrPseudonym |
getInstance(java.lang.Object obj)
|
DirectoryString |
getPseudonym()
|
DirectoryString |
getSurname()
|
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream. |
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameOrPseudonym(DirectoryString pseudonym)
The sequence is of type NameOrPseudonym:
NameOrPseudonym ::= CHOICE { surAndGivenName SEQUENCE { surName DirectoryString, givenName SEQUENCE OF DirectoryString }, pseudonym DirectoryString }
pseudonym
- pseudonym value to use.public NameOrPseudonym(java.lang.String pseudonym)
pseudonym
- The pseudonym.public NameOrPseudonym(DirectoryString surname, ASN1Sequence givenName)
surname
- The surname.givenName
- A sequence of directory strings making up the givenNameMethod Detail |
---|
public static NameOrPseudonym getInstance(java.lang.Object obj)
public DirectoryString getPseudonym()
public DirectoryString getSurname()
public DirectoryString[] getGivenName()
public DERObject toASN1Object()
Returns:
NameOrPseudonym ::= CHOICE { surAndGivenName SEQUENCE { surName DirectoryString, givenName SEQUENCE OF DirectoryString }, pseudonym DirectoryString }
toASN1Object
in class ASN1Encodable
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |