Class BCFKSStoreTest

java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.BCFKSStoreTest
All Implemented Interfaces:
Test

public class BCFKSStoreTest extends SimpleTest
Exercise the BCFKS KeyStore,
  • Constructor Details

    • BCFKSStoreTest

      public BCFKSStoreTest()
  • Method Details

    • shouldCreateEmptyBCFKSNoPassword

      public void shouldCreateEmptyBCFKSNoPassword() throws Exception
      Throws:
      Exception
    • shouldCreateEmptyBCFKSPassword

      public void shouldCreateEmptyBCFKSPassword() throws Exception
      Throws:
      Exception
    • shouldWorkWithNullLoadStoreParameter

      public void shouldWorkWithNullLoadStoreParameter() throws Exception
      Throws:
      Exception
    • shouldStoreOneCertificate

      public void shouldStoreOneCertificate() throws Exception
      Throws:
      Exception
    • shouldStoreOneCertificateWithECDSASignature

      public void shouldStoreOneCertificateWithECDSASignature() throws Exception
      Throws:
      Exception
    • shouldStoreOneCertificateWithECDSASignatureAndCertificates

      public void shouldStoreOneCertificateWithECDSASignatureAndCertificates() throws Exception
      Throws:
      Exception
    • shouldStoreOneCertificateWithDSASignature

      public void shouldStoreOneCertificateWithDSASignature() throws Exception
      Throws:
      Exception
    • shouldStoreOneCertificateWithRSASignature

      public void shouldStoreOneCertificateWithRSASignature() throws Exception
      Throws:
      Exception
    • shouldStoreOnePrivateKey

      public void shouldStoreOnePrivateKey() throws Exception
      Throws:
      Exception
    • shouldStoreOnePrivateKeyWithChain

      public void shouldStoreOnePrivateKeyWithChain() throws Exception
      Throws:
      Exception
    • shouldStoreOnePrivateKeyWithChainEdDSA

      public void shouldStoreOnePrivateKeyWithChainEdDSA() throws Exception
      Throws:
      Exception
    • shouldStoreOneECKeyWithChain

      public void shouldStoreOneECKeyWithChain() throws Exception
      Throws:
      Exception
    • shouldRejectInconsistentKeys

      public void shouldRejectInconsistentKeys() throws Exception
      Throws:
      Exception
    • shouldStoreMultipleKeys

      public void shouldStoreMultipleKeys() throws Exception
      Throws:
      Exception
    • shouldParseKWPKeyStore

      public void shouldParseKWPKeyStore() throws Exception
      Throws:
      Exception
    • shouldStoreSecretKeys

      public void shouldStoreSecretKeys() throws Exception
      Throws:
      Exception
    • shouldFailOnWrongPassword

      public void shouldFailOnWrongPassword() throws Exception
      Throws:
      Exception
    • failOnWrongPasswordTest

      public void failOnWrongPasswordTest(String storeName) throws Exception
      Throws:
      Exception
    • shouldFailOnRemovesOrOverwrite

      public void shouldFailOnRemovesOrOverwrite() throws Exception
      Throws:
      Exception
    • shouldStoreOneSecretKey

      public void shouldStoreOneSecretKey() throws Exception
      Throws:
      Exception
    • getName

      public String getName()
      Specified by:
      getName in interface Test
      Specified by:
      getName in class SimpleTest
    • performTest

      public void performTest() throws Exception
      Specified by:
      performTest in class SimpleTest
      Throws:
      Exception
    • main

      public static void main(String[] args)