IT. Expert System.

Android Reference

CertificateFactorySpi


java.security.cert

Class CertificateFactorySpi

    • Constructor Detail

      • CertificateFactorySpi

        public CertificateFactorySpi()
        Constructs a new instance of this class.
    • Method Detail

      • engineGenerateCertificate

        public abstract Certificate engineGenerateCertificate(InputStream inStream)
                                                       throws CertificateException
        Generates and initializes a Certificate from the provided input stream.
        Parameters:
        inStream - the stream from which the data is read to create the certificate.
        Returns:
        an initialized certificate.
        Throws:
        CertificateException - if parsing problems are detected.
      • engineGenerateCertificates

        public abstract Collection<? extends Certificate> engineGenerateCertificates(InputStream inStream)
                                                                              throws CertificateException
        Generates and initializes a collection of certificates from the provided input stream.
        Parameters:
        inStream - the stream from where data is read to create the certificates.
        Returns:
        a collection of certificates.
        Throws:
        CertificateException - if parsing problems are detected.
      • engineGenerateCRL

        public abstract CRL engineGenerateCRL(InputStream inStream)
                                       throws CRLException
        Generates and initializes a Certificate Revocation List (CRL) from the provided input stream.
        Parameters:
        inStream - the stream from where data is read to create the CRL.
        Returns:
        an CRL instance.
        Throws:
        CRLException - if parsing problems are detected.
      • engineGenerateCRLs

        public abstract Collection<? extends CRL> engineGenerateCRLs(InputStream inStream)
                                                              throws CRLException
        Generates and initializes a collection of Certificate Revocation List (CRL) from the provided input stream.
        Parameters:
        inStream - the stream from which the data is read to create the CRLs.
        Returns:
        a collection of CRLs.
        Throws:
        CRLException - if parsing problems are detected.
      • engineGenerateCertPath

        public CertPath engineGenerateCertPath(InputStream inStream)
                                        throws CertificateException
        Generates a CertPath from the provided InputStream. The default encoding scheme is applied.
        Parameters:
        inStream - an input stream with encoded data.
        Returns:
        a CertPath initialized from the provided data.
        Throws:
        CertificateException - if parsing problems are detected.
      • engineGenerateCertPath

        public CertPath engineGenerateCertPath(InputStream inStream,
                                      String encoding)
                                        throws CertificateException
        Generates a CertPath from the provided InputStream in the specified encoding.
        Parameters:
        inStream - an input stream containing certificate path data in specified encoding.
        encoding - the encoding of the data in the input stream.
        Returns:
        a CertPath initialized from the provided data
        Throws:
        CertificateException - if parsing problems are detected.
        UnsupportedOperationException - if the provider does not implement this method.
      • engineGenerateCertPath

        public CertPath engineGenerateCertPath(List<? extends Certificate> certificates)
                                        throws CertificateException
        Generates a CertPath from the provided list of certificates. The encoding is the default encoding.
        Parameters:
        certificates - the list containing certificates in a format supported by the CertificateFactory.
        Returns:
        a CertPath initialized from the provided data.
        Throws:
        CertificateException - if parsing problems are detected.
        UnsupportedOperationException - if the provider does not implement this method.
      • engineGetCertPathEncodings

        public Iterator<String> engineGetCertPathEncodings()
        Returns an Iterator over the supported CertPath encodings (as Strings). The first element is the default encoding.
        Returns:
        an iterator over supported CertPath encodings (as Strings).


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: 597 / . Delta: 0.02917 с