IT. Expert System.

Android Reference

TBSCertificate


org.apache.harmony.security.x509

Class TBSCertificate



  • public final class TBSCertificate
    extends Object
    The class encapsulates the ASN.1 DER encoding/decoding work with TBSCertificate structure which is the part of X.509 certificate (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):
      TBSCertificate  ::=  SEQUENCE  {
           version         [0]  EXPLICIT Version DEFAULT v1,
           serialNumber         CertificateSerialNumber,
           signature            AlgorithmIdentifier,
           issuer               Name,
           validity             Validity,
           subject              Name,
           subjectPublicKeyInfo SubjectPublicKeyInfo,
           issuerUniqueID  [1]  IMPLICIT UniqueIdentifier OPTIONAL,
                                -- If present, version MUST be v2 or v3
           subjectUniqueID [2]  IMPLICIT UniqueIdentifier OPTIONAL,
                                -- If present, version MUST be v2 or v3
           extensions      [3]  EXPLICIT Extensions OPTIONAL
                                -- If present, version MUST be v3
      }
     
    • Field Detail

      • ASN1

        public static final ASN1Sequence ASN1
        X.509 TBSCertificate encoder/decoder.
    • Method Detail

      • getVersion

        public int getVersion()
        Returns the value of version field of the structure.
      • getSerialNumber

        public BigInteger getSerialNumber()
        Returns the value of serialNumber field of the structure.
      • getSignature

        public AlgorithmIdentifier getSignature()
        Returns the value of signature field of the structure.
      • getIssuer

        public Name getIssuer()
        Returns the value of issuer field of the structure.
      • getValidity

        public Validity getValidity()
        Returns the value of validity field of the structure.
      • getSubject

        public Name getSubject()
        Returns the value of subject field of the structure.
      • getSubjectPublicKeyInfo

        public SubjectPublicKeyInfo getSubjectPublicKeyInfo()
        Returns the value of subjectPublicKeyInfo field of the structure.
      • getIssuerUniqueID

        public boolean[] getIssuerUniqueID()
        Returns the value of issuerUniqueID field of the structure.
      • getSubjectUniqueID

        public boolean[] getSubjectUniqueID()
        Returns the value of subjectUniqueID field of the structure.
      • getExtensions

        public Extensions getExtensions()
        Returns the value of extensions field of the structure.
      • getEncoded

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


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: 1912 / 248362528. Delta: 0.02526 с