]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/asn1schemas/pkcs10.py
Raise copyright years
[pygost.git] / pygost / asn1schemas / pkcs10.py
index f1f684aca0be418155ef85132376b05e6c76b6dc..27fea8bd7ad257d2e80586f715ee147a573833a7 100644 (file)
@@ -1,6 +1,6 @@
 # coding: utf-8
 # PyGOST -- Pure Python GOST cryptographic functions library
-# Copyright (C) 2015-2020 Sergey Matveev <stargrave@stargrave.org>
+# Copyright (C) 2015-2021 Sergey Matveev <stargrave@stargrave.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 """PKCS #10 related structures (**NOT COMPLETE**)
 """
 
-from pyderasn import Any
 from pyderasn import BitString
 from pyderasn import Integer
-from pyderasn import ObjectIdentifier
 from pyderasn import Sequence
 from pyderasn import SetOf
 from pyderasn import tag_ctxc
 
+from pygost.asn1schemas.cms import Attribute
 from pygost.asn1schemas.x509 import AlgorithmIdentifier
 from pygost.asn1schemas.x509 import Name
 from pygost.asn1schemas.x509 import SubjectPublicKeyInfo
 
 
-class AttributeValue(Any):
-    pass
-
-
-class AttributeValues(SetOf):
-    schema = AttributeValue()
-
-
-class Attribute(Sequence):
-    schema = (
-        ("type", ObjectIdentifier()),
-        ("values", AttributeValues()),
-    )
-
-
 class Attributes(SetOf):
     schema = Attribute()