Example usage for java.security AlgorithmConstraints interface-usage

List of usage examples for java.security AlgorithmConstraints interface-usage

Introduction

In this page you can find the example usage for java.security AlgorithmConstraints interface-usage.

Usage

From source file Test.java

    class SimpleConstraints implements AlgorithmConstraints {
        public boolean permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters) {
            return permits(primitives, algorithm, null, parameters);
        }

        public boolean permits(Set<CryptoPrimitive> primitives, Key key) {