|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
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
Constructor Summary | |
---|---|
NameOrPseudonym(DirectoryString pseudonym)
Constructor from DirectoryString. |
|
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()
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameOrPseudonym(DirectoryString pseudonym)
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 ASN1Primitive toASN1Primitive()
NameOrPseudonym ::= CHOICE { surAndGivenName SEQUENCE { surName DirectoryString, givenName SEQUENCE OF DirectoryString }, pseudonym DirectoryString }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |