2013-11-21
2013-11-21 21:09:54 by Martin Nilsson <nilsson@opera.com>
-
c0f3f543fd9b00f117a92ddef9293df067af7714
(13 lines)
(+5/-8)
[
Show
| Annotate
]
Branch: 8.0
Changed asn1_id to return the ASN1 Identifier object.
9: Inside #if constant(Nettle) && constant(Nettle.SHA384)
inherit Nettle.SHA384;
- // id-sha384
- // FROM RFC 4055 {
- // joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)
- // csor(3) nistalgorithm(4) hashalgs(2) 2
- // }
- //
- // Standards.ASN1.Types.Identifier(2,16,840,1,101,3,4,2,2)->get_der();
- string asn1_id() { return "`\206H\1e\3\4\2\2"; }
+ Standards.ASN1.Types.Identifier asn1_id()
+ {
+ return Standards.PKCS.Identifiers.sha384_id;
+ }
#else
constant this_program_does_not_exist=1;
#endif