GOST XML digital signature syntax
draft-smirnov-xmldsig-00

Document Type Active Internet-Draft (individual)
Last updated 2019-11-01
Replaces draft-chudov-cryptopro-cpxmldsig
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                    P. Smirnov, Ed.
Internet-Draft                                             M. Paramonova
Intended status: Informational                               M. Khomenko
Expires: May 3, 2020                                          A. Makarov
                                                               CryptoPro
                                                        October 31, 2019

                   GOST XML digital signature syntax
                        draft-smirnov-xmldsig-00

Abstract

   This document specifies XML digital signature syntax and methods of
   including hash-based message authentication code (HMAC) within the
   XML document to support the Russian cryptographic standard
   algorithms.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on May 3, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Smirnov, et al.            Expires May 3, 2020                  [Page 1]
Internet-Draft      GOST XML digital signature syntax       October 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   4
   3.  Basic Terms and Definitions . . . . . . . . . . . . . . . . .   4
   4.  Structure of the document . . . . . . . . . . . . . . . . . .   5
   5.  XML namespaces and prefixes . . . . . . . . . . . . . . . . .   6
   6.  The Signature element schema definition . . . . . . . . . . .   7
     6.1.  The SignedInfo element  . . . . . . . . . . . . . . . . .   8
       6.1.1.  The SignatureMethod element . . . . . . . . . . . . .   9
       6.1.2.  The Reference element . . . . . . . . . . . . . . . .  10
         6.1.2.1.  The DigestMethod element  . . . . . . . . . . . .  10
         6.1.2.2.  DigestValue element . . . . . . . . . . . . . . .  11
     6.2.  The SignatureValue element  . . . . . . . . . . . . . . .  11
     6.3.  The KeyInfo element . . . . . . . . . . . . . . . . . . .  12
       6.3.1.  The KeyValue element  . . . . . . . . . . . . . . . .  13
         6.3.1.1.  The GOSTR34102012-256-KeyValue,
                   GOSTR34102012-512-KeyValue and
                   GOSTR34102001KeyValue elements  . . . . . . . . .  14
       6.3.2.  The RetrievalMethod element . . . . . . . . . . . . .  15
       6.3.3.  The X509Data element  . . . . . . . . . . . . . . . .  16
       6.3.4.  The DEREncodedKeyValue element  . . . . . . . . . . .  17
   7.  Guidelines on the GOST algorithms . . . . . . . . . . . . . .  18
     7.1.  GOST algorithms to create an XML document signature . . .  18
       7.1.1.  Hash algorithm in DigestMethod element  . . . . . . .  18
         7.1.1.1.  GOST R 34.11-2012 algorithm with 256-bit hash
                   code in DigestMethod element  . . . . . . . . . .  18
         7.1.1.2.  GOST R 34.11-2012 algorithm with 512-bit hash
                   code in DigestMethod element  . . . . . . . . . .  18
         7.1.1.3.  GOST R 34.11-94 algorithm in DigestMethod element  19
       7.1.2.  Signature algorithm in SignatureMethod element  . . .  20
         7.1.2.1.  GOST R 34.10-2012 algorithm with 256-bit key in
                   SignatureMethod element . . . . . . . . . . . . .  20
         7.1.2.2.  GOST R 34.10-2012 algorithm with 512-bit key in
                   SignatureMethod element . . . . . . . . . . . . .  20
         7.1.2.3.  GOST R 34.10-2001 algorithm in SignatureMethod
                   element . . . . . . . . . . . . . . . . . . . . .  21
     7.2.  GOST algorithms to calculate HMAC value . . . . . . . . .  21
       7.2.1.  GOST R 34.11-2012 algorithm with 256-bit key in
               SignatureMethod element . . . . . . . . . . . . . . .  21
Show full document text