Interface CryptographicSuite
- All Superinterfaces:
LevelRule
- All Known Implementing Classes:
CryptographicConstraintWrapper, CryptographicSuite19322
Contains policy for validation of cryptographic suites used on the signature or certificates
-
Method Summary
Modifier and TypeMethodDescriptionGets a map of DigestAlgorithm's extracted from a cryptographic suite and their correspondingCryptographicSuiteEvaluationrulesReturns a level constraint for AcceptableDigestAlgo constraint if present, the globalgetLevelotherwise.Gets a map of SignatureAlgorithm's extracted from a cryptographic suite and their correspondingCryptographicSuiteEvaluationrulesReturns a level constraint for AcceptableEncryptionAlgo constraint if present, the globalgetLevelotherwise.Returns a level constraint for MiniPublicKeySize constraint if present, the globalgetLevelotherwise.Returns a level constraint for AlgoExpirationDate constraint if present, the globalgetLevelotherwise.Returns a level constraint for AlgoExpirationDate constraint if present, the globalgetLevelotherwise.Returns a date of the update of the cryptographic suites within the validation policyGets a cryptographic suite namevoidsetAcceptableDigestAlgorithmsLevel(Level acceptableDigestAlgorithmsLevel) Sets the execution level for the acceptable digest algorithms checkvoidsetAcceptableSignatureAlgorithmsLevel(Level acceptableSignatureAlgorithmsLevel) Sets the execution level for the acceptable signature algorithms checkvoidsetAcceptableSignatureAlgorithmsMiniKeySizeLevel(Level acceptableSignatureAlgorithmsMiniKeySizeLevel) Sets the execution level for the acceptable minimum key sizes of signature algorithms checkvoidsetAlgorithmsExpirationDateLevel(Level algorithmsExpirationDateLevel) Sets the execution level for checking algorithms expirationvoidsetAlgorithmsExpirationTimeAfterPolicyUpdateLevel(Level algorithmsExpirationTimeAfterPolicyUpdateLevel) Sets the execution level for checking algorithms expiration after the validation policy update Default : Level.WARN (warning message is returned in case of expiration of the used cryptographic constraints after the policy update date)voidSets the global execution level for the cryptographic suite constraints
-
Method Details
-
getPolicyName
-
getAcceptableDigestAlgorithms
Map<DigestAlgorithm, Set<CryptographicSuiteEvaluation>> getAcceptableDigestAlgorithms()Gets a map of DigestAlgorithm's extracted from a cryptographic suite and their correspondingCryptographicSuiteEvaluationrules- Returns:
- a link between
DigestAlgorithms and correspondingCryptographicSuiteEvaluations
-
getAcceptableSignatureAlgorithms
Map<SignatureAlgorithm, Set<CryptographicSuiteEvaluation>> getAcceptableSignatureAlgorithms()Gets a map of SignatureAlgorithm's extracted from a cryptographic suite and their correspondingCryptographicSuiteEvaluationrules- Returns:
- a link between
SignatureAlgorithms and correspondingCryptographicSuiteEvaluations
-
setLevel
-
getAcceptableDigestAlgorithmsLevel
-
setAcceptableDigestAlgorithmsLevel
-
getAcceptableSignatureAlgorithmsLevel
-
setAcceptableSignatureAlgorithmsLevel
-
getAcceptableSignatureAlgorithmsMiniKeySizeLevel
-
setAcceptableSignatureAlgorithmsMiniKeySizeLevel
-
getAlgorithmsExpirationDateLevel
-
setAlgorithmsExpirationDateLevel
-
getAlgorithmsExpirationDateAfterUpdateLevel
-
setAlgorithmsExpirationTimeAfterPolicyUpdateLevel
void setAlgorithmsExpirationTimeAfterPolicyUpdateLevel(Level algorithmsExpirationTimeAfterPolicyUpdateLevel) Sets the execution level for checking algorithms expiration after the validation policy update Default : Level.WARN (warning message is returned in case of expiration of the used cryptographic constraints after the policy update date)- Parameters:
algorithmsExpirationTimeAfterPolicyUpdateLevel-Level
-
getCryptographicSuiteUpdateDate
-