aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509self.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-23 04:20:30 +0000
committerlloyd <[email protected]>2006-06-23 04:20:30 +0000
commit96277a37c3b7125f2c79cb9c2df19d4811379a36 (patch)
tree3dfb9ffc2736a20b90303abb8e6189f7c680f82c /src/x509self.cpp
parent4fa62dc075426f8503f485cc1eeffc59ad95b2a3 (diff)
Make Alternative_Name an abstract base, from which the subject
and issuer forms are derived. Add Extensions::contents_to, which iterates over the set and adds each extension's contents. Add a new explicit info field for is_ca Implement Authority_Key_Id::decode_inner (incomplete, only handles the keyid form).
Diffstat (limited to 'src/x509self.cpp')
-rw-r--r--src/x509self.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/x509self.cpp b/src/x509self.cpp
index f107e005b..d047f37a6 100644
--- a/src/x509self.cpp
+++ b/src/x509self.cpp
@@ -134,10 +134,7 @@ PKCS10_Request create_cert_req(const X509_Cert_Options& opts,
extensions.add(
new Cert_Extension::Extended_Key_Usage(opts.ex_constraints));
extensions.add(
- new Cert_Extension::Alternative_Name(subject_alt,
- "X509v3.SubjectAlternativeName",
- "subject_alternative_name")
- );
+ new Cert_Extension::Subject_Alternative_Name(subject_alt));
DER_Encoder tbs_req;