aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Kötter <koetter@luis.uni-hannover.de>2019-11-19 14:57:02 +0100
committerMarkus Kötter <koetter@luis.uni-hannover.de>2019-11-19 14:57:02 +0100
commitdc8c2794b6df2747c24ed8da802cc04ae2a17955 (patch)
treeac266c737ecbad90b6be0bcfdeb20e83525bdee9
parentf003c67831782ed8c225c8b11c3aa3d0cc56fb1d (diff)
downloadasn1crypto-dc8c2794b6df2747c24ed8da802cc04ae2a17955.tar.gz
fix fq import names
-rw-r--r--asn1crypto/cms.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/asn1crypto/cms.py b/asn1crypto/cms.py
index 6aaba10..76143ac 100644
--- a/asn1crypto/cms.py
+++ b/asn1crypto/cms.py
@@ -924,22 +924,22 @@ class CompressedData(Sequence):
self._decompressed = zlib.decompress(self['encap_content_info']['content'].native)
return self._decompressed
-class RecipientKeyIdentifier(asn1crypto.core.Sequence):
+class RecipientKeyIdentifier(Sequence):
_fields = [
- ('subjectKeyIdentifier', asn1crypto.cms.OctetString),
- ('date', asn1crypto.cms.GeneralizedTime, {'optional': True}),
- ('other', asn1crypto.cms.OtherKeyAttribute, {'optional': True}),
+ ('subjectKeyIdentifier', OctetString),
+ ('date', GeneralizedTime, {'optional': True}),
+ ('other', OtherKeyAttribute, {'optional': True}),
]
-class SMIMEEncryptionKeyPreference(asn1crypto.core.Choice):
+class SMIMEEncryptionKeyPreference(Choice):
_alternatives = [
- ('issuer_and_serial_number', asn1crypto.cms.IssuerAndSerialNumber, {'implicit':0}),
+ ('issuer_and_serial_number', IssuerAndSerialNumber, {'implicit':0}),
('recipientKeyId', RecipientKeyIdentifier, {'implicit': 1}),
- ('subjectAltKeyIdentifier', asn1crypto.cms.PublicKeyInfo, {'implicit': 2}),
+ ('subjectAltKeyIdentifier', PublicKeyInfo, {'implicit': 2}),
]
-class SMIMEEncryptionKeyPreferences(asn1crypto.core.SetOf):
+class SMIMEEncryptionKeyPreferences(SetOf):
_child_spec = SMIMEEncryptionKeyPreference