IT. Expert System.

Android Reference

KeyStoreTest


org.apache.harmony.security.tests.java.security

Class KeyStoreTest

  • java.lang.Object
    • TestCase
      • org.apache.harmony.security.tests.java.security.KeyStoreTest


  • public class KeyStoreTest
    extends TestCase
    Tests for KeyStore constructor and methods
    • Field Detail

      • KSSupported

        public static boolean KSSupported
      • defaultProviderName

        public static String defaultProviderName
      • defaultProvider

        public static Provider defaultProvider
    • Constructor Detail

      • KeyStoreTest

        public KeyStoreTest()
    • Method Detail

      • testLoadStore02

        public void testLoadStore02()
                             throws Exception
        Test for load(LoadStoreParameter param) store(LoadStoreParameter param) methods Assertions: throw IllegalArgumentException if param is null;
        Throws:
        Exception
      • testSetKeyEntry

        public void testSetKeyEntry()
                             throws Exception
        Test for setKeyEntry(String alias, byte[] key, Certificate[] chain) method Assertion: stores KeyEntry.
        Throws:
        Exception
      • testKeyStore01

        public void testKeyStore01()
        Test for getDefaultType() method Assertion: returns default security key store type or "jks" string
      • testKeyStore02

        public void testKeyStore02()
                            throws KeyStoreException
        Test for getInstance(String type) method Assertion: throws NullPointerException when type is null throws KeyStoreException when type is not available
        Throws:
        KeyStoreException
      • testKeyStorePPGetPassword

        public void testKeyStorePPGetPassword()
      • testEngineEntryInstanceOf

        public void testEngineEntryInstanceOf()
                                       throws Exception
        Throws:
        Exception
      • testKeyStoreTCToString

        public void testKeyStoreTCToString()
        java.security.KeyStore.TrustedCertificateEntry.toString()


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: 303 / 248377508. Delta: 0.02228 с