org.bouncycastle.asn1.isismtt.x509

Class NamingAuthority

public class NamingAuthority extends ASN1Encodable

Names of authorities which are responsible for the administration of title registers.
             NamingAuthority ::= SEQUENCE 
             {
               namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
               namingAuthorityUrl IA5String OPTIONAL,
               namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
             }
 

See Also:

Field Summary
static DERObjectIdentifierid_isismtt_at_namingAuthorities_RechtWirtschaftSteuern
Profession OIDs should always be defined under the OID branch of the responsible naming authority.
Constructor Summary
NamingAuthority(DERObjectIdentifier namingAuthorityId, String namingAuthorityUrl, DirectoryString namingAuthorityText)
Constructor from given details.
Method Summary
static NamingAuthoritygetInstance(Object obj)
static NamingAuthoritygetInstance(ASN1TaggedObject obj, boolean explicit)
DERObjectIdentifiergetNamingAuthorityId()
DirectoryStringgetNamingAuthorityText()
StringgetNamingAuthorityUrl()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Field Detail

id_isismtt_at_namingAuthorities_RechtWirtschaftSteuern

public static final DERObjectIdentifier id_isismtt_at_namingAuthorities_RechtWirtschaftSteuern
Profession OIDs should always be defined under the OID branch of the responsible naming authority. At the time of this writing, the work group o?=Recht, Wirtschaft, Steuerno?= (o?=Law, Economy, Taxeso?=) is registered as the first naming authority under the OID id-isismtt-at-namingAuthorities.

Constructor Detail

NamingAuthority

public NamingAuthority(DERObjectIdentifier namingAuthorityId, String namingAuthorityUrl, DirectoryString namingAuthorityText)
Constructor from given details.

All parameters can be combined.

Parameters: namingAuthorityId ObjectIdentifier for naming authority. namingAuthorityUrl URL for naming authority. namingAuthorityText Textual representation of naming authority.

Method Detail

getInstance

public static NamingAuthority getInstance(Object obj)

getInstance

public static NamingAuthority getInstance(ASN1TaggedObject obj, boolean explicit)

getNamingAuthorityId

public DERObjectIdentifier getNamingAuthorityId()

Returns: Returns the namingAuthorityId.

getNamingAuthorityText

public DirectoryString getNamingAuthorityText()

Returns: Returns the namingAuthorityText.

getNamingAuthorityUrl

public String getNamingAuthorityUrl()

Returns: Returns the namingAuthorityUrl.

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.

Returns:

             NamingAuthority ::= SEQUENCE
             {
               namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
               namingAuthorityUrl IA5String OPTIONAL,
               namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL
             }
 

Returns: a DERObject