diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2018-09-04 11:38:32 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2018-09-04 11:38:32 +0300 |
commit | fd12b88c3392a300d94421f62cf870be8d4ef430 (patch) | |
tree | 4a0f52e821e759884acd99dea69a15ef542f7a82 /gost_lcl.h | |
parent | cd7f9c8e3c396cff87e1393df835c5f5f9fb661f (diff) | |
download | gost-engine-fd12b88c3392a300d94421f62cf870be8d4ef430.zip gost-engine-fd12b88c3392a300d94421f62cf870be8d4ef430.tar.gz gost-engine-fd12b88c3392a300d94421f62cf870be8d4ef430.tar.bz2 |
ASN1 definitions
Diffstat (limited to 'gost_lcl.h')
-rw-r--r-- | gost_lcl.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -114,6 +114,24 @@ typedef struct { /* FIXME incomplete */ GOST_KEY_TRANSPORT *gkt; } GOST_CLIENT_KEY_EXCHANGE_PARAMS; +/* PSKeyTransport ::= SEQUENCE { + PSEXP OCTET STRING, + ephemeralPublicKey SubjectPublicKeyInfo + } + SubjectPublicKeyInfo ::= SEQUENCE { + algorithm AlgorithmIdentifier, + subjectPublicKey BITSTRING + } + AlgorithmIdentifier ::= SEQUENCE { + algorithm OBJECT IDENTIFIER, + parameters ANY OPTIONAL + }*/ +typedef struct PSKeyTransport_st { + ASN1_OCTET_STRING *psexp; + X509_PUBKEY *ephem_key; +} PSKeyTransport_gost; + +DECLARE_ASN1_FUNCTIONS(PSKeyTransport_gost) /* * Hacks to shorten symbols to 31 characters or less, or OpenVMS. This mimics * what's done in symhacks.h, but since this is a very local header file, I |