File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,15 @@ class OpenSSLPubKey(univ.Sequence):
47
47
48
48
49
49
class AsnPubKey (univ .Sequence ):
50
- """ASN.1 contents of DER encoded public key:
50
+ """ASN1 contents of DER encoded public key:
51
+
52
+ .. code-block:: shell
53
+
54
+ RSAPublicKey ::= SEQUENCE {
55
+ modulus INTEGER, -- n
56
+ publicExponent INTEGER, -- e
57
+ }
51
58
52
- RSAPublicKey ::= SEQUENCE {
53
- modulus INTEGER, -- n
54
- publicExponent INTEGER, -- e
55
59
"""
56
60
57
61
componentType = namedtype .NamedTypes (
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ Adafruit CircuitPython RSA API
12
12
:members:
13
13
14
14
.. automodule :: adafruit_rsa.asn1
15
- :members:
15
+
16
+ .. autoclass :: PubKeyHeader
17
+ .. autoclass :: OpenSSLPubKey
18
+ .. autoclass :: AsnPubKey
16
19
17
20
.. automodule :: adafruit_rsa.common
18
21
:members:
You can’t perform that action at this time.
0 commit comments