org.bouncycastle.crypto.test
Class QuantumVulnerableConstraintTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.crypto.test.QuantumVulnerableConstraintTest
- All Implemented Interfaces:
- Test
- public class QuantumVulnerableConstraintTest
- extends SimpleTest
The three fixed QuantumVulnerableConstraint policies - log only, legacy use only and reject all -
against every purpose, through the light-weight RSA, EC, X25519, ECIES, ML-KEM and ML-DSA
classes, together with the policy names the default-constraint property accepts and a
LoggingConstraint recording the post-quantum services.
| Methods inherited from class org.bouncycastle.util.test.SimpleTest |
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests, testException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuantumVulnerableConstraintTest
public QuantumVulnerableConstraintTest()
getName
public java.lang.String getName()
- Specified by:
getName in interface Test- Specified by:
getName in class SimpleTest
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest in class SimpleTest
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)