public class

ProcurationSyntax

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.isismtt.x509.ProcurationSyntax

Class Overview

Attribute to indicate that the certificate holder may sign in the name of a third person.

ISIS-MTT PROFILE: The corresponding ProcurationSyntax contains either the name of the person who is represented (subcomponent thirdPerson) or a reference to his/her base certificate (in the component signingFor, subcomponent certRef), furthermore the optional components country and typeSubstitution to indicate the country whose laws apply, and respectively the type of procuration (e.g. manager, procuration, custody).

ISIS-MTT PROFILE: The GeneralName MUST be of type directoryName and MAY only contain: - RFC3039 attributes, except pseudonym (countryName, commonName, surname, givenName, serialNumber, organizationName, organizationalUnitName, stateOrProvincename, localityName, postalAddress) and - SubjectDirectoryName attributes (title, dateOfBirth, placeOfBirth, gender, countryOfCitizenship, countryOfResidence and NameAtBirth).

               ProcurationSyntax ::= SEQUENCE {
                 country [1] EXPLICIT PrintableString(SIZE(2)) OPTIONAL,
                 typeOfSubstitution [2] EXPLICIT DirectoryString (SIZE(1..128)) OPTIONAL,
                 signingFor [3] EXPLICIT SigningFor 
               }
               
               SigningFor ::= CHOICE 
               { 
                 thirdPerson GeneralName,
                 certRef IssuerSerial 
               }
 

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
ProcurationSyntax(String country, DirectoryString typeOfSubstitution, IssuerSerial certRef)
Constructor from a given details.
ProcurationSyntax(String country, DirectoryString typeOfSubstitution, GeneralName thirdPerson)
Constructor from a given details.
Public Methods
IssuerSerial getCertRef()
String getCountry()
static ProcurationSyntax getInstance(Object obj)
GeneralName getThirdPerson()
DirectoryString getTypeOfSubstitution()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public ProcurationSyntax (String country, DirectoryString typeOfSubstitution, IssuerSerial certRef)

Constructor from a given details.

Either generalName or certRef MUST be null.

Parameters
country The country code whose laws apply.
typeOfSubstitution The type of procuration.
certRef Reference to certificate of the person who is represented.

public ProcurationSyntax (String country, DirectoryString typeOfSubstitution, GeneralName thirdPerson)

Constructor from a given details.

Either generalName or certRef MUST be null.

Parameters
country The country code whose laws apply.
typeOfSubstitution The type of procuration.
thirdPerson The GeneralName of the person who is represented.

Public Methods

public IssuerSerial getCertRef ()

public String getCountry ()

public static ProcurationSyntax getInstance (Object obj)

public GeneralName getThirdPerson ()

public DirectoryString getTypeOfSubstitution ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

Returns:

               ProcurationSyntax ::= SEQUENCE {
                 country [1] EXPLICIT PrintableString(SIZE(2)) OPTIONAL,
                 typeOfSubstitution [2] EXPLICIT DirectoryString (SIZE(1..128)) OPTIONAL,
                 signingFor [3] EXPLICIT SigningFor
               }
 

SigningFor ::= CHOICE { thirdPerson GeneralName, certRef IssuerSerial }

Returns
  • a DERObject