CompositeKeyFactory
Keywords: net.corda.core.crypto.CompositeKeyFactory class
Date: 2023-09-18

net.corda.core.crypto

## Class CompositeKeyFactory

- net.corda.core.crypto.CompositeKeyFactory

-     public class CompositeKeyFactory

  Factory for generating composite keys from ASN.1 format key specifications. This is used by `class CordaSecurityProvider`.

  See Also:
    `class CordaSecurityProvider`

- - ### Constructor Detail

    - #### CompositeKeyFactory

          public CompositeKeyFactory()

      Factory for generating composite keys from ASN.1 format key specifications. This is used by `class CordaSecurityProvider`.

      See Also:
        `class CordaSecurityProvider`

  - ### Method Detail

    - #### engineGeneratePrivate

          @NotNull
          protected java.security.PrivateKey engineGeneratePrivate(@NotNull
                                                                            java.security.spec.KeySpec keySpec)

    - #### engineGeneratePublic

          @Nullable
          protected java.security.PublicKey engineGeneratePublic(@NotNull
                                                                           java.security.spec.KeySpec keySpec)

    - #### engineGetKeySpec

          @NotNull
          protected <T extends KeySpec> T engineGetKeySpec(@NotNull
                                                                    java.security.Key key,
                                                                    @NotNull
                                                                    java.lang.Class<T> keySpec)

    - #### engineTranslateKey

          @NotNull
          protected java.security.Key engineTranslateKey(@NotNull
                                                                  java.security.Key key)