Class InternalConfiguration

  • Direct Known Subclasses:
    RegistryConfiguration

    public abstract class InternalConfiguration
    extends Configuration
    Abstract class representing the real configuration API, i.e. all algorithms that Tink understands. Internal. Users should not access these methods since the operations are to be used by internal KeysetHandle operations only.
    • Constructor Detail

      • InternalConfiguration

        public InternalConfiguration()
    • Method Detail

      • wrap

        public abstract <P> P wrap​(KeysetHandleInterface keysetHandle,
                                   MonitoringAnnotations annotations,
                                   java.lang.Class<P> clazz)
                            throws java.security.GeneralSecurityException
        Creates a primitive from a KeysetHandle.
        Throws:
        java.security.GeneralSecurityException - if the wrapper for the provided pair (input class, wrapped class) is not registered