Class OtherName

java.lang.Object
org.apache.harmony.security.x509.OtherName

public final class OtherName
extends Object
The class encapsulates the ASN.1 DER encoding/decoding work with OtherName structure which is a subpart of GeneralName (as specified in RFC 3280 - Internet X.509 Public Key Infrastructure. Certificate and Certificate Revocation List (CRL) Profile. http://www.ietf.org/rfc/rfc3280.txt):
   OtherName ::= SEQUENCE {
        type-id    OBJECT IDENTIFIER,
        value      [0] EXPLICIT ANY DEFINED BY type-id
   }
 
  • Field Details

    • ASN1

      public static final ASN1Sequence ASN1
      ASN.1 DER X.509 OtherName encoder/decoder class.
  • Constructor Details

    • OtherName

      public OtherName​(String typeID, byte[] value)
  • Method Details

    • getValue

      public byte[] getValue()
      Returns the value of value field of the structure.
    • getEncoded

      public byte[] getEncoded()
      Returns ASN.1 encoded form of this X.509 OtherName value.