|
|||||||||
| 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.PersonalData
public class PersonalData
Contains personal data for the otherName field in the subjectAltNames extension.
PersonalData ::= SEQUENCE {
nameOrPseudonym NameOrPseudonym,
nameDistinguisher [0] INTEGER OPTIONAL,
dateOfBirth [1] GeneralizedTime OPTIONAL,
placeOfBirth [2] DirectoryString OPTIONAL,
gender [3] PrintableString OPTIONAL,
postalAddress [4] DirectoryString OPTIONAL
}
NameOrPseudonym,
SigIObjectIdentifiers| Field Summary | |
|---|---|
private DERGeneralizedTime |
dateOfBirth
|
private java.lang.String |
gender
|
private java.math.BigInteger |
nameDistinguisher
|
private NameOrPseudonym |
nameOrPseudonym
|
private DirectoryString |
placeOfBirth
|
private DirectoryString |
postalAddress
|
| Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
|---|
BER, DER |
| Constructor Summary | |
|---|---|
private |
PersonalData(ASN1Sequence seq)
Constructor from ASN1Sequence. |
|
PersonalData(NameOrPseudonym nameOrPseudonym,
java.math.BigInteger nameDistinguisher,
DERGeneralizedTime dateOfBirth,
DirectoryString placeOfBirth,
java.lang.String gender,
DirectoryString postalAddress)
Constructor from a given details. |
| Method Summary | |
|---|---|
DERGeneralizedTime |
getDateOfBirth()
|
java.lang.String |
getGender()
|
static PersonalData |
getInstance(java.lang.Object obj)
|
java.math.BigInteger |
getNameDistinguisher()
|
NameOrPseudonym |
getNameOrPseudonym()
|
DirectoryString |
getPlaceOfBirth()
|
DirectoryString |
getPostalAddress()
|
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 |
| Field Detail |
|---|
private NameOrPseudonym nameOrPseudonym
private java.math.BigInteger nameDistinguisher
private DERGeneralizedTime dateOfBirth
private DirectoryString placeOfBirth
private java.lang.String gender
private DirectoryString postalAddress
| Constructor Detail |
|---|
private PersonalData(ASN1Sequence seq)
The sequence is of type NameOrPseudonym:
PersonalData ::= SEQUENCE {
nameOrPseudonym NameOrPseudonym,
nameDistinguisher [0] INTEGER OPTIONAL,
dateOfBirth [1] GeneralizedTime OPTIONAL,
placeOfBirth [2] DirectoryString OPTIONAL,
gender [3] PrintableString OPTIONAL,
postalAddress [4] DirectoryString OPTIONAL
}
seq - The ASN.1 sequence.public PersonalData(NameOrPseudonym nameOrPseudonym,
java.math.BigInteger nameDistinguisher,
DERGeneralizedTime dateOfBirth,
DirectoryString placeOfBirth,
java.lang.String gender,
DirectoryString postalAddress)
nameOrPseudonym - Name or pseudonym.nameDistinguisher - Name distinguisher.dateOfBirth - Date of birth.placeOfBirth - Place of birth.gender - Gender.postalAddress - Postal Address.| Method Detail |
|---|
public static PersonalData getInstance(java.lang.Object obj)
public NameOrPseudonym getNameOrPseudonym()
public java.math.BigInteger getNameDistinguisher()
public DERGeneralizedTime getDateOfBirth()
public DirectoryString getPlaceOfBirth()
public java.lang.String getGender()
public DirectoryString getPostalAddress()
public DERObject toASN1Object()
Returns:
PersonalData ::= SEQUENCE {
nameOrPseudonym NameOrPseudonym,
nameDistinguisher [0] INTEGER OPTIONAL,
dateOfBirth [1] GeneralizedTime OPTIONAL,
placeOfBirth [2] DirectoryString OPTIONAL,
gender [3] PrintableString OPTIONAL,
postalAddress [4] DirectoryString OPTIONAL
}
toASN1Object in class ASN1Encodable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||