Top Description Fields Constructors Methods
org.bouncycastle.asn1.isismtt.x509

public Class NamingAuthority

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1IA5String, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1String, .ASN1TaggedObject, .DERIA5String, .DERSequence, org.bouncycastle.asn1.isismtt.ISISMTTObjectIdentifiers, org.bouncycastle.asn1.x500.DirectoryString

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
org.bouncycastle.asn1.isismtt.x509.AdmissionSyntax

Field Summary

Modifier and TypeField and Description
public static final ASN1ObjectIdentifier
id_isismtt_at_namingAuthorities_RechtWirtschaftSteuern

Profession OIDs should always be defined under the OID branch of the responsible naming authority.

private ASN1ObjectIdentifier
private DirectoryString
private String

Constructor Summary

AccessConstructor and Description
private
NamingAuthority(ASN1Sequence
The ASN.1 sequence.
seq
)

Constructor from ASN1Sequence.

public
NamingAuthority(ASN1ObjectIdentifier
ObjectIdentifier for naming authority.
namingAuthorityId
,
String
URL for naming authority.
namingAuthorityUrl
,
DirectoryString
Textual representation of naming authority.
namingAuthorityText
)

Constructor from given details.

Method Summary

Modifier and TypeMethod and Description
public static NamingAuthority
public static NamingAuthority
getInstance(ASN1TaggedObject obj, boolean explicit)

public ASN1ObjectIdentifier

Returns:

Returns the namingAuthorityId.
getNamingAuthorityId
()

public DirectoryString

Returns:

Returns the namingAuthorityText.
getNamingAuthorityText
()

public String

Returns:

Returns the namingAuthorityUrl.
getNamingAuthorityUrl
()

public ASN1Primitive

Returns:

a DERObject
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

id_isismtt_at_namingAuthorities_RechtWirtschaftSteuernback to summary
public static final ASN1ObjectIdentifier 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 �Recht, Wirtschaft, Steuern� (�Law, Economy, Taxes�) is registered as the first naming authority under the OID id-isismtt-at-namingAuthorities.

namingAuthorityIdback to summary
private ASN1ObjectIdentifier namingAuthorityId
namingAuthorityTextback to summary
private DirectoryString namingAuthorityText
namingAuthorityUrlback to summary
private String namingAuthorityUrl

Constructor Detail

NamingAuthorityback to summary
private NamingAuthority(ASN1Sequence seq)

Constructor from ASN1Sequence.

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

The ASN.1 sequence.

NamingAuthorityback to summary
public NamingAuthority(ASN1ObjectIdentifier namingAuthorityId, String namingAuthorityUrl, DirectoryString namingAuthorityText)

Constructor from given details.

All parameters can be combined.

Parameters
namingAuthorityId:ASN1ObjectIdentifier

ObjectIdentifier for naming authority.

namingAuthorityUrl:String

URL for naming authority.

namingAuthorityText:DirectoryString

Textual representation of naming authority.

Method Detail

getInstanceback to summary
public static NamingAuthority getInstance(Object obj)
getInstanceback to summary
public static NamingAuthority getInstance(ASN1TaggedObject obj, boolean explicit)
getNamingAuthorityIdback to summary
public ASN1ObjectIdentifier getNamingAuthorityId()
Returns:ASN1ObjectIdentifier

Returns the namingAuthorityId.

getNamingAuthorityTextback to summary
public DirectoryString getNamingAuthorityText()
Returns:DirectoryString

Returns the namingAuthorityText.

getNamingAuthorityUrlback to summary
public String getNamingAuthorityUrl()
Returns:String

Returns the namingAuthorityUrl.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

Returns:

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

a DERObject