Home
last modified time | relevance | path

Searched refs:cms (Results 1 – 25 of 159) sorted by relevance

1234567

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedData.java1 package org.bouncycastle.cms;
26 import org.bouncycastle.asn1.cms.ContentInfo;
27 import org.bouncycastle.asn1.cms.SignedData;
28 import org.bouncycastle.asn1.cms.SignerInfo;
508 CMSSignedData cms = new CMSSignedData(signedData); in replaceSigners() local
513 cms.signerInfoStore = signerInformationStore; in replaceSigners()
548 cms.signedData = SignedData.getInstance(new BERSequence(vec)); in replaceSigners()
553 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
555 return cms; in replaceSigners()
579 CMSSignedData cms = new CMSSignedData(signedData); in replaceCertificatesAndCRLs() local
[all …]
DDefaultSignedAttributeTableGenerator.java1 package org.bouncycastle.cms;
11 import org.bouncycastle.asn1.cms.Attribute;
12 import org.bouncycastle.asn1.cms.AttributeTable;
13 import org.bouncycastle.asn1.cms.CMSAlgorithmProtection;
14 import org.bouncycastle.asn1.cms.CMSAttributes;
15 import org.bouncycastle.asn1.cms.Time;
DCMSSignedDataGenerator.java1 package org.bouncycastle.cms;
16 import org.bouncycastle.asn1.cms.CMSObjectIdentifiers;
17 import org.bouncycastle.asn1.cms.ContentInfo;
18 import org.bouncycastle.asn1.cms.SignedData;
19 import org.bouncycastle.asn1.cms.SignerInfo;
DSignerInformation.java1 package org.bouncycastle.cms;
19 import org.bouncycastle.asn1.cms.Attribute;
20 import org.bouncycastle.asn1.cms.AttributeTable;
21 import org.bouncycastle.asn1.cms.CMSAlgorithmProtection;
22 import org.bouncycastle.asn1.cms.CMSAttributes;
23 import org.bouncycastle.asn1.cms.IssuerAndSerialNumber;
24 import org.bouncycastle.asn1.cms.SignerIdentifier;
25 import org.bouncycastle.asn1.cms.SignerInfo;
26 import org.bouncycastle.asn1.cms.Time;
DSignerInfoGeneratorBuilder.java1 package org.bouncycastle.cms;
4 import org.bouncycastle.asn1.cms.IssuerAndSerialNumber;
5 import org.bouncycastle.asn1.cms.SignerIdentifier;
DSimpleAttributeTableGenerator.java1 package org.bouncycastle.cms;
3 import org.bouncycastle.asn1.cms.AttributeTable;
DCMSAttributeTableGenerator.java1 package org.bouncycastle.cms;
5 import org.bouncycastle.asn1.cms.AttributeTable;
DCMSAbsentContent.java1 package org.bouncycastle.cms;
8 import org.bouncycastle.asn1.cms.CMSObjectIdentifiers;
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/
DCMSSignedData.java2 package com.android.internal.org.bouncycastle.cms;
27 import com.android.internal.org.bouncycastle.asn1.cms.ContentInfo;
28 import com.android.internal.org.bouncycastle.asn1.cms.SignedData;
29 import com.android.internal.org.bouncycastle.asn1.cms.SignerInfo;
510 CMSSignedData cms = new CMSSignedData(signedData); in replaceSigners() local
515 cms.signerInfoStore = signerInformationStore; in replaceSigners()
550 cms.signedData = SignedData.getInstance(new BERSequence(vec)); in replaceSigners()
555 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
557 return cms; in replaceSigners()
581 CMSSignedData cms = new CMSSignedData(signedData); in replaceCertificatesAndCRLs() local
[all …]
DDefaultSignedAttributeTableGenerator.java2 package com.android.internal.org.bouncycastle.cms;
12 import com.android.internal.org.bouncycastle.asn1.cms.Attribute;
13 import com.android.internal.org.bouncycastle.asn1.cms.AttributeTable;
14 import com.android.internal.org.bouncycastle.asn1.cms.CMSAlgorithmProtection;
15 import com.android.internal.org.bouncycastle.asn1.cms.CMSAttributes;
16 import com.android.internal.org.bouncycastle.asn1.cms.Time;
DCMSSignedDataGenerator.java2 package com.android.internal.org.bouncycastle.cms;
17 import com.android.internal.org.bouncycastle.asn1.cms.CMSObjectIdentifiers;
18 import com.android.internal.org.bouncycastle.asn1.cms.ContentInfo;
19 import com.android.internal.org.bouncycastle.asn1.cms.SignedData;
20 import com.android.internal.org.bouncycastle.asn1.cms.SignerInfo;
DSignerInformation.java2 package com.android.internal.org.bouncycastle.cms;
20 import com.android.internal.org.bouncycastle.asn1.cms.Attribute;
21 import com.android.internal.org.bouncycastle.asn1.cms.AttributeTable;
22 import com.android.internal.org.bouncycastle.asn1.cms.CMSAlgorithmProtection;
23 import com.android.internal.org.bouncycastle.asn1.cms.CMSAttributes;
24 import com.android.internal.org.bouncycastle.asn1.cms.IssuerAndSerialNumber;
25 import com.android.internal.org.bouncycastle.asn1.cms.SignerIdentifier;
26 import com.android.internal.org.bouncycastle.asn1.cms.SignerInfo;
27 import com.android.internal.org.bouncycastle.asn1.cms.Time;
DSignerInfoGeneratorBuilder.java2 package com.android.internal.org.bouncycastle.cms;
5 import com.android.internal.org.bouncycastle.asn1.cms.IssuerAndSerialNumber;
6 import com.android.internal.org.bouncycastle.asn1.cms.SignerIdentifier;
DSimpleAttributeTableGenerator.java2 package com.android.internal.org.bouncycastle.cms;
4 import com.android.internal.org.bouncycastle.asn1.cms.AttributeTable;
DCMSAttributeTableGenerator.java2 package com.android.internal.org.bouncycastle.cms;
6 import com.android.internal.org.bouncycastle.asn1.cms.AttributeTable;
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/
DJcaSignerInfoGeneratorBuilder.java1 package org.bouncycastle.cms.jcajce;
8 import org.bouncycastle.cms.CMSAttributeTableGenerator;
9 import org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder;
10 import org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder;
11 import org.bouncycastle.cms.SignerInfoGenerator;
12 import org.bouncycastle.cms.SignerInfoGeneratorBuilder;
DJcaSignerInfoVerifierBuilder.java1 package org.bouncycastle.cms.jcajce;
9 import org.bouncycastle.cms.CMSSignatureAlgorithmNameGenerator;
10 import org.bouncycastle.cms.DefaultCMSSignatureAlgorithmNameGenerator;
11 import org.bouncycastle.cms.SignerInformationVerifier;
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/jcajce/
DJcaSignerInfoGeneratorBuilder.java2 package com.android.internal.org.bouncycastle.cms.jcajce;
9 import com.android.internal.org.bouncycastle.cms.CMSAttributeTableGenerator;
10 import com.android.internal.org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder;
11 import com.android.internal.org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder;
12 import com.android.internal.org.bouncycastle.cms.SignerInfoGenerator;
13 import com.android.internal.org.bouncycastle.cms.SignerInfoGeneratorBuilder;
DJcaSignerInfoVerifierBuilder.java2 package com.android.internal.org.bouncycastle.cms.jcajce;
10 import com.android.internal.org.bouncycastle.cms.CMSSignatureAlgorithmNameGenerator;
11 import com.android.internal.org.bouncycastle.cms.DefaultCMSSignatureAlgorithmNameGenerator;
12 import com.android.internal.org.bouncycastle.cms.SignerInformationVerifier;
/external/python/asn1crypto/tests/
Dtest_cms.py10 from asn1crypto import cms, util
27 data = cms.SignedData({
45 self.assertIsInstance(info, cms.ContentInfo)
48 data = cms.SignedData({
66 self.assertIsInstance(info, cms.EncapsulatedContentInfo)
70 info = cms.ContentInfo.load(f.read())
83 info = cms.ContentInfo.load(f.read())
120 info = cms.ContentInfo.load(f.read())
149 info = cms.ContentInfo.load(f.read())
184 info = cms.ContentInfo.load(f.read())
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java245 ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create();
246 cms.add("a", 2);
247 cms.add("b", 3);
250 cms.removeExactly("a", -2);
255 assertTrue(cms.removeExactly("a", 0));
256 assertEquals(2, cms.count("a"));
257 assertTrue(cms.removeExactly("c", 0));
258 assertEquals(0, cms.count("c"));
260 assertFalse(cms.removeExactly("a", 4));
261 assertEquals(2, cms.count("a"));
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java245 ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create();
246 cms.add("a", 2);
247 cms.add("b", 3);
250 cms.removeExactly("a", -2);
255 assertTrue(cms.removeExactly("a", 0));
256 assertEquals(2, cms.count("a"));
257 assertTrue(cms.removeExactly("c", 0));
258 assertEquals(0, cms.count("c"));
260 assertFalse(cms.removeExactly("a", 4));
261 assertEquals(2, cms.count("a"));
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cmc/
DSimplePKIResponse.java6 import org.bouncycastle.asn1.cms.ContentInfo;
9 import org.bouncycastle.cms.CMSException;
10 import org.bouncycastle.cms.CMSSignedData;
/external/rust/crates/openssl/src/
Dcms.rs145 let cms = cvt_p(ffi::SMIME_read_CMS(bio.as_ptr(), ptr::null_mut()))?; in smime_read_cms() localVariable
147 Ok(CmsContentInfo::from_ptr(cms)) in smime_read_cms()
192 let cms = cvt_p(ffi::CMS_sign( in sign() localVariable
200 Ok(CmsContentInfo::from_ptr(cms)) in sign()
220 let cms = cvt_p(ffi::CMS_encrypt( in encrypt() localVariable
227 Ok(CmsContentInfo::from_ptr(cms)) in encrypt()
/external/python/asn1crypto/tests/fixtures/
Dreadme.md3 Item of note: the files `cms-signed-digested.pem`, `cms-signed-digested.der`,

1234567