Package de.mtg.jzlint.lints.rfc
Class RsaAllowedKuNoEnciphermentCa
java.lang.Object
de.mtg.jzlint.lints.rfc.RsaAllowedKuNoEnciphermentCa
- All Implemented Interfaces:
JavaLint
RFC 3279: 2.3.1 RSA Keys
If the keyUsage extension is present in a CA or CRL issuer
certificate which conveys an RSA public key, any combination of the
following values MAY be present:
digitalSignature;
nonRepudiation;
keyEncipherment;
dataEncipherment;
keyCertSign; and
cRLSign.
However, this specification RECOMMENDS that if keyCertSign or cRLSign
is present, both keyEncipherment and dataEncipherment SHOULD NOT be
present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckApplies(X509Certificate certificate) execute(X509Certificate certificate)
-
Constructor Details
-
RsaAllowedKuNoEnciphermentCa
public RsaAllowedKuNoEnciphermentCa()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-