org.bouncycastle.asn1.esf

Class SignerLocation

Implemented Interfaces:
DEREncodable

public class SignerLocation
extends ASN1Encodable

Signer-Location attribute (RFC3126).
   SignerLocation ::= SEQUENCE {
       countryName        [0] DirectoryString OPTIONAL,
       localityName       [1] DirectoryString OPTIONAL,
       postalAddress      [2] PostalAddress OPTIONAL }

   PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString
 

Constructor Summary

SignerLocation(ASN1Sequence seq)
SignerLocation(DERUTF8String countryName, DERUTF8String localityName, ASN1Sequence postalAddress)

Method Summary

DERUTF8String
getCountryName()
static SignerLocation
getInstance(Object obj)
DERUTF8String
getLocalityName()
ASN1Sequence
getPostalAddress()
DERObject
toASN1Object()
   SignerLocation ::= SEQUENCE {
       countryName        [0] DirectoryString OPTIONAL,
       localityName       [1] DirectoryString OPTIONAL,
       postalAddress      [2] PostalAddress OPTIONAL }

   PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

SignerLocation

public SignerLocation(ASN1Sequence seq)


SignerLocation

public SignerLocation(DERUTF8String countryName,
                      DERUTF8String localityName,
                      ASN1Sequence postalAddress)

Method Details

getCountryName

public DERUTF8String getCountryName()


getInstance

public static SignerLocation getInstance(Object obj)


getLocalityName

public DERUTF8String getLocalityName()


getPostalAddress

public ASN1Sequence getPostalAddress()


toASN1Object

public DERObject toASN1Object()
   SignerLocation ::= SEQUENCE {
       countryName        [0] DirectoryString OPTIONAL,
       localityName       [1] DirectoryString OPTIONAL,
       postalAddress      [2] PostalAddress OPTIONAL }

   PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString
 
Overrides:
toASN1Object in interface ASN1Encodable