diff options
Diffstat (limited to 'lib/gnutls.asn')
-rw-r--r-- | lib/gnutls.asn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/gnutls.asn b/lib/gnutls.asn index 3e6b67ea56..b3adae054d 100644 --- a/lib/gnutls.asn +++ b/lib/gnutls.asn @@ -144,4 +144,26 @@ IssuerSignTool ::= SEQUENCE { cAToolCert UTF8String -- (SIZE (1..100)) } +Gost28147-89-EncryptedKey ::= SEQUENCE { + encryptedKey OCTET STRING, -- (SIZE (32)) + maskKey [0] IMPLICIT OCTET STRING OPTIONAL, + macKey OCTET STRING -- (SIZE (1..4)) +} + +SubjectPublicKeyInfo ::= SEQUENCE { + algorithm AlgorithmIdentifier, + subjectPublicKey BIT STRING +} + +GostR3410-TransportParameters ::= SEQUENCE { + encryptionParamSet OBJECT IDENTIFIER, + ephemeralPublicKey [0] IMPLICIT SubjectPublicKeyInfo OPTIONAL, + ukm OCTET STRING +} + +GostR3410-KeyTransport ::= SEQUENCE { + sessionEncryptedKey Gost28147-89-EncryptedKey, + transportParameters [0] IMPLICIT GostR3410-TransportParameters OPTIONAL +} + END |