Class Overview
A declaration of majority.
DeclarationOfMajoritySyntax ::= CHOICE
{
notYoungerThan [0] IMPLICIT INTEGER,
fullAgeAtCountry [1] IMPLICIT SEQUENCE
{
fullAge BOOLEAN DEFAULT TRUE,
country PrintableString (SIZE(2))
}
dateOfBirth [2] IMPLICIT GeneralizedTime
}
fullAgeAtCountry indicates the majority of the owner with respect to the laws
of a specific country.
Constants
public
static
final
int
dateOfBirth
Constant Value:
2
(0x00000002)
public
static
final
int
fullAgeAtCountry
Constant Value:
1
(0x00000001)
public
static
final
int
notYoungerThan
Constant Value:
0
(0x00000000)
Public Constructors
public
DeclarationOfMajority
(int notYoungerThan)
public
DeclarationOfMajority
(boolean fullAge, String country)
Public Methods
public
int
notYoungerThan
()
Returns
- notYoungerThan if that's what we are, -1 otherwise
public
DERObject
toASN1Object
()
Produce an object suitable for an ASN1OutputStream.
Returns:
DeclarationOfMajoritySyntax ::= CHOICE
{
notYoungerThan [0] IMPLICIT INTEGER,
fullAgeAtCountry [1] IMPLICIT SEQUENCE
{
fullAge BOOLEAN DEFAULT TRUE,
country PrintableString (SIZE(2))
}
dateOfBirth [2] IMPLICIT GeneralizedTime
}