Class NamingAuthority
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.isismtt.x509.NamingAuthority
- All Implemented Interfaces:
ASN1Encodable
,Encodable
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
FieldsModifier and TypeFieldDescriptionstatic final ASN1ObjectIdentifier
Profession OIDs should always be defined under the OID branch of the responsible naming authority. -
Constructor Summary
ConstructorsConstructorDescriptionNamingAuthority
(ASN1ObjectIdentifier namingAuthorityId, String namingAuthorityUrl, DirectoryString namingAuthorityText) Constructor from given details. -
Method Summary
Modifier and TypeMethodDescriptionstatic NamingAuthority
getInstance
(Object obj) static NamingAuthority
getInstance
(ASN1TaggedObject obj, boolean explicit) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
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.
-
-
Constructor Details
-
NamingAuthority
public NamingAuthority(ASN1ObjectIdentifier 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 Details
-
getInstance
-
getInstance
-
getNamingAuthorityId
- Returns:
- Returns the namingAuthorityId.
-
getNamingAuthorityText
- Returns:
- Returns the namingAuthorityText.
-
getNamingAuthorityUrl
- Returns:
- Returns the namingAuthorityUrl.
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.Returns:
NamingAuthority ::= SEQUENCE { namingAuthorityId OBJECT IDENTIFIER OPTIONAL, namingAuthorityUrl IA5String OPTIONAL, namingAuthorityText DirectoryString(SIZE(1..128)) OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a DERObject
-