Class NamingAuthority
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.isismtt.x509.NamingAuthority
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class NamingAuthority extends org.bouncycastle.asn1.ASN1ObjectNames 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:
AdmissionSyntax
-
-
Field Summary
Fields Modifier and Type Field Description static org.bouncycastle.asn1.ASN1ObjectIdentifierid_isismtt_at_namingAuthorities_RechtWirtschaftSteuernProfession OIDs should always be defined under the OID branch of the responsible naming authority.
-
Constructor Summary
Constructors Constructor Description NamingAuthority(org.bouncycastle.asn1.ASN1ObjectIdentifier namingAuthorityId, java.lang.String namingAuthorityUrl, org.bouncycastle.asn1.x500.DirectoryString namingAuthorityText)Constructor from given details.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamingAuthoritygetInstance(java.lang.Object obj)static NamingAuthoritygetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)org.bouncycastle.asn1.ASN1ObjectIdentifiergetNamingAuthorityId()org.bouncycastle.asn1.x500.DirectoryStringgetNamingAuthorityText()java.lang.StringgetNamingAuthorityUrl()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream.
-
-
-
Field Detail
-
id_isismtt_at_namingAuthorities_RechtWirtschaftSteuern
public static final org.bouncycastle.asn1.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.
-
-
Constructor Detail
-
NamingAuthority
public NamingAuthority(org.bouncycastle.asn1.ASN1ObjectIdentifier namingAuthorityId, java.lang.String namingAuthorityUrl, org.bouncycastle.asn1.x500.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(java.lang.Object obj)
-
getInstance
public static NamingAuthority getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
-
getNamingAuthorityId
public org.bouncycastle.asn1.ASN1ObjectIdentifier getNamingAuthorityId()
- Returns:
- Returns the namingAuthorityId.
-
getNamingAuthorityText
public org.bouncycastle.asn1.x500.DirectoryString getNamingAuthorityText()
- Returns:
- Returns the namingAuthorityText.
-
getNamingAuthorityUrl
public java.lang.String getNamingAuthorityUrl()
- Returns:
- Returns the namingAuthorityUrl.
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive 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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object- Returns:
- a DERObject
-
-