IT. Expert System.

Android Reference

CertStore


java.security.cert

Class CertStore



  • public class CertStore
    extends Object
    This class provides the functionality to retrieve Certificates and CRLs from a read-only repository. This repository may be very large and may store trusted as well as untrusted certificates.
    • Constructor Detail

      • CertStore

        protected CertStore(CertStoreSpi storeSpi,
                 Provider provider,
                 String type,
                 CertStoreParameters params)
        Creates a new CertStore instance.
        Parameters:
        storeSpi - the implementation delegate.
        provider - the security provider.
        type - the certificate store type.
        params - the certificate store parameters (may be null.
    • Method Detail

      • getType

        public final String getType()
        Returns the certificate store type.
        Returns:
        the certificate store type.
      • getProvider

        public final Provider getProvider()
        Returns the security provider.
        Returns:
        the security provider.
      • getCertStoreParameters

        public final CertStoreParameters getCertStoreParameters()
        Returns a copy of the certificate store parameters that were used to initialize this instance.
        Returns:
        a copy of the certificate store parameters or null if none were specified.
      • getCertificates

        public final Collection<? extends Certificate> getCertificates(CertSelector selector)
                                                                throws CertStoreException
        Returns the list of Certificates for the specified CertSelector from this certificate store.
        Parameters:
        selector - the selector containing the criteria to search for certificates in this certificate store.
        Returns:
        the list of Certificates that match the criteria of the specified selector.
        Throws:
        CertStoreException - if error(s) occur.
      • getCRLs

        public final Collection<? extends CRL> getCRLs(CRLSelector selector)
                                                throws CertStoreException
        Returns the list of CRLs for the specified CRLSelector from this certificate store.
        Parameters:
        selector - the selector containing the criteria to search for certificate revocation lists in this store.
        Returns:
        the list of CRLs that match the criteria of the specified selector
        Throws:
        CertStoreException - if error(s) occur.
      • getDefaultType

        public static final String getDefaultType()
        Returns the default CertStore type from the Security Properties.
        Returns:
        the default CertStore type from the Security Properties, or the string "LDAP" if it cannot be determined.


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: 3436 / . Delta: 0.03991 с