Package de.mtg.jzlint.lints.mozilla
Class MpEcdsaPubKeyEncodingCorrect
java.lang.Object
de.mtg.jzlint.lints.mozilla.MpEcdsaPubKeyEncodingCorrect
- All Implemented Interfaces:
JavaLint
https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/policy/
When ECDSA keys are encoded in a SubjectPublicKeyInfo structure, the algorithm field MUST be one of the following, as
specified by RFC 5480, Section 2.1.1:
The encoded AlgorithmIdentifier for a P-256 key MUST match the following hex-encoded
bytes: > 301306072a8648ce3d020106082a8648ce3d030107.
The encoded AlgorithmIdentifier for a P-384 key MUST match the following hex-encoded
bytes: > 301006072a8648ce3d020106052b81040022.
The above encodings consist of an ecPublicKey OID (1.2.840.10045.2.1) with a named curve parameter of the corresponding
curve OID. Certificates MUST NOT use the implicit or specified curve forms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckApplies(X509Certificate certificate) execute(X509Certificate certificate)
-
Constructor Details
-
MpEcdsaPubKeyEncodingCorrect
public MpEcdsaPubKeyEncodingCorrect()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-