Interface Configuration


  • public interface Configuration
    An object implementing this interface represents a collection of algorithms that a user wants Tink to understand. For most users, one of the predefined Configuration objects is to be used at primitive creation time.
    • Method Detail

      • createPrimitive

        default <P> P createPrimitive​(KeysetHandleInterface keysetHandle,
                                      java.lang.Class<P> clazz)
                               throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • getOrNull

        @Nullable
        default <P> P getOrNull​(java.lang.Class<P> clazz)
      • createKey

        default Key createKey​(Parameters parameters,
                              @Nullable
                              java.lang.Integer idRequirement)
                       throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException