IT. Expert System.

Java Standard Edition (SE)

Extension


compact1, compact2, compact3
java.security.cert

Interface Extension



  • public interface Extension
    This interface represents an X.509 extension.

    Extensions provide a means of associating additional attributes with users or public keys and for managing a certification hierarchy. The extension format also allows communities to define private extensions to carry information unique to those communities.

    Each extension contains an object identifier, a criticality setting indicating whether it is a critical or a non-critical extension, and and an ASN.1 DER-encoded value. Its ASN.1 definition is:

    
         Extension ::= SEQUENCE {
             extnId        OBJECT IDENTIFIER,
             critical      BOOLEAN DEFAULT FALSE,
             extnValue     OCTET STRING
                     -- contains a DER encoding of a value
                     -- of the type registered for use with
                     -- the extnId object identifier value
         }
    
     

    This interface is designed to provide access to a single extension, unlike X509Extension which is more suitable for accessing a set of extensions.

    Since:
    1.7
    • Method Detail

      • getId

        String getId()
        Gets the extensions's object identifier.
        Returns:
        the object identifier as a String
      • isCritical

        boolean isCritical()
        Gets the extension's criticality setting.
        Returns:
        true if this is a critical extension.
      • getValue

        byte[] getValue()
        Gets the extensions's DER-encoded value. Note, this is the bytes that are encoded as an OCTET STRING. It does not include the OCTET STRING tag and length.
        Returns:
        a copy of the extension's value, or null if no extension value is present.


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: 398 / 158856312. Delta: 0.03564 с