X.509: Add a crypto key parser for binary (DER) X.509 certificates
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / crypto / asymmetric_keys / Kconfig
index 561759d6a65f177e3cb740e61333ce5982d22334..6d2c2ea12559c57624b687a06e0b6f3f3ae4291a 100644 (file)
@@ -25,4 +25,14 @@ config PUBLIC_KEY_ALGO_RSA
        help
          This option enables support for the RSA algorithm (PKCS#1, RFC3447).
 
+config X509_CERTIFICATE_PARSER
+       tristate "X.509 certificate parser"
+       depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
+       select ASN1
+       select OID_REGISTRY
+       help
+         This option procides support for parsing X.509 format blobs for key
+         data and provides the ability to instantiate a crypto key from a
+         public key packet found inside the certificate.
+
 endif # ASYMMETRIC_KEY_TYPE