File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
//! Support for ASN.1 DER-encoded ECDSA signatures as specified in
2
- //! [RFC5912 Appendix A ].
2
+ //! [RFC5912 Section 6 ].
3
3
//!
4
- //! [RFC5912 Appendix A ]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A
4
+ //! [RFC5912 Section 6 ]: https://www.rfc-editor.org/rfc/rfc5912#section-6
5
5
6
6
use crate :: { Error , Result } ;
7
7
use core:: {
@@ -47,7 +47,7 @@ pub type MaxSize<C> = <<FieldBytesSize<C> as Add>::Output as Add<MaxOverhead>>::
47
47
/// Byte array containing a serialized ASN.1 signature
48
48
type SignatureBytes < C > = Array < u8 , MaxSize < C > > ;
49
49
50
- /// ASN.1 DER-encoded signature as specified in [RFC5912 Appendix A ]:
50
+ /// ASN.1 DER-encoded signature as specified in [RFC5912 Section 6 ]:
51
51
///
52
52
/// ```text
53
53
/// ECDSA-Sig-Value ::= SEQUENCE {
@@ -56,7 +56,7 @@ type SignatureBytes<C> = Array<u8, MaxSize<C>>;
56
56
/// }
57
57
/// ```
58
58
///
59
- /// [RFC5912 Appendix A ]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A
59
+ /// [RFC5912 Section 6 ]: https://www.rfc-editor.org/rfc/rfc5912#section-6
60
60
pub struct Signature < C >
61
61
where
62
62
C : PrimeCurve ,
You can’t perform that action at this time.
0 commit comments