IT. Expert System.

Android Reference

Name


org.apache.harmony.security.x501

Class Name



  • public final class Name
    extends Object
    X.501 Name
    • Field Summary

      Fields
      Modifier and Type Field and Description
      static ASN1SequenceOf ASN1
      static ASN1SetOf ASN1_RDN
      According to RFC 3280 (http://www.ietf.org/rfc/rfc3280.txt) X.501 Name structure is defined as follows: Name ::= CHOICE { RDNSequence } RDNSequence ::= SEQUENCE OF RelativeDistinguishedName RelativeDistinguishedName ::= SET OF AttributeTypeAndValue
    • Constructor Summary

      Constructors
      Constructor and Description
      Name(byte[] encoding)
      Creates new Name instance from its DER encoding
      Name(String name)
      Creates new Name instance
    • Field Detail

      • ASN1_RDN

        public static final ASN1SetOf ASN1_RDN
        According to RFC 3280 (http://www.ietf.org/rfc/rfc3280.txt) X.501 Name structure is defined as follows: Name ::= CHOICE { RDNSequence } RDNSequence ::= SEQUENCE OF RelativeDistinguishedName RelativeDistinguishedName ::= SET OF AttributeTypeAndValue
    • Constructor Detail

      • Name

        public Name(byte[] encoding)
             throws IOException
        Creates new Name instance from its DER encoding
        Parameters:
        encoding - - ASN.1 DER encoding
        Throws:
        IOException - - if encoding is wrong
      • Name

        public Name(String name)
             throws IOException
        Creates new Name instance
        Parameters:
        name - - Name as String
        Throws:
        IOException - - if string is wrong
    • Method Detail

      • getX500Principal

        public X500Principal getX500Principal()
        Returns X500Principal instance corresponding to this Name instance
        Returns:
        equivalent X500Principal object
      • getName

        public String getName(String format)
        Returns Relative Distinguished Name as String according the format requested
        Parameters:
        format - one of X500Principal.CANONICAL, X500Principal.RFC1779, or X500Principal.RFC2253, case insensitive
      • getEncoded

        public byte[] getEncoded()
        Gets encoded form of DN
        Returns:
        return encoding, no copying is performed


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2384 / 248558881. Delta: 0.02206 с