support unstructuredAddress in left|rightid

This commit is contained in:
Andreas Steffen
2011-04-18 23:40:31 +02:00
parent 733813c7fb
commit a30e025901
2 changed files with 29 additions and 27 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
0x05 "signingTime" OID_PKCS9_SIGNING_TIME 0x05 "signingTime" OID_PKCS9_SIGNING_TIME
0x06 "counterSignature" 0x06 "counterSignature"
0x07 "challengePassword" OID_CHALLENGE_PASSWORD 0x07 "challengePassword" OID_CHALLENGE_PASSWORD
0x08 "unstructuredAddress" 0x08 "unstructuredAddress" OID_UNSTRUCTURED_ADDRESS
0x0E "extensionRequest" OID_EXTENSION_REQUEST 0x0E "extensionRequest" OID_EXTENSION_REQUEST
0x0F "S/MIME Capabilities" 0x0F "S/MIME Capabilities"
0x02 "digestAlgorithm" 0x02 "digestAlgorithm"
+2
View File
@@ -89,6 +89,8 @@ static const x501rdn_t x501rdns[] = {
{"emailAddress", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, {"emailAddress", OID_EMAIL_ADDRESS, ASN1_IA5STRING},
{"UN", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, {"UN", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING},
{"unstructuredName", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, {"unstructuredName", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING},
{"UA", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING},
{"unstructuredAddress", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING},
{"TCGID", OID_TCGID, ASN1_PRINTABLESTRING} {"TCGID", OID_TCGID, ASN1_PRINTABLESTRING}
}; };