Home
last modified time | relevance | path

Searched refs:ContentInfo (Results 1 – 25 of 29) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DContentInfo.java29 public class ContentInfo class
51 public static ContentInfo getInstance( in getInstance()
54 if (obj instanceof ContentInfo) in getInstance()
56 return (ContentInfo)obj; in getInstance()
60 return new ContentInfo(ASN1Sequence.getInstance(obj)); in getInstance()
66 public static ContentInfo getInstance( in getInstance()
76 public ContentInfo( in ContentInfo() method in ContentInfo
98 public ContentInfo( in ContentInfo() method in ContentInfo
DSignedData.java68 private ContentInfo contentInfo;
106 ContentInfo contentInfo, in SignedData()
225 contentInfo = ContentInfo.getInstance(e.nextElement()); in SignedData()
271 public ContentInfo getEncapContentInfo() in getEncapContentInfo()
/external/webrtc/webrtc/p2p/base/
Dsessiondescription.h34 struct ContentInfo { struct
35 ContentInfo() : description(NULL) {} in ContentInfo() function
36 ContentInfo(const std::string& name, in ContentInfo() argument
40 ContentInfo(const std::string& name, in ContentInfo() function
75 typedef std::vector<ContentInfo> ContentInfos;
78 const ContentInfo* FindContentInfoByName(
80 const ContentInfo* FindContentInfoByType(
113 const ContentInfo* GetContentByName(const std::string& name) const;
114 ContentInfo* GetContentByName(const std::string& name);
118 const ContentInfo* FirstContentByType(const std::string& type) const;
[all …]
Dsessiondescription.cc15 ContentInfo* FindContentInfoByName( in FindContentInfoByName()
26 const ContentInfo* FindContentInfoByName( in FindContentInfoByName()
37 const ContentInfo* FindContentInfoByType( in FindContentInfoByType()
83 const ContentInfo* SessionDescription::GetContentByName( in GetContentByName()
88 ContentInfo* SessionDescription::GetContentByName( in GetContentByName()
95 const ContentInfo* cinfo = FindContentInfoByName(contents_, name); in GetContentDescriptionByName()
105 ContentInfo* cinfo = FindContentInfoByName(contents_, name); in GetContentDescriptionByName()
113 const ContentInfo* SessionDescription::FirstContentByType( in FirstContentByType()
118 const ContentInfo* SessionDescription::FirstContent() const { in FirstContent()
125 contents_.push_back(ContentInfo(name, type, description)); in AddContent()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DContentInfo.java16 public class ContentInfo class
24 public static ContentInfo getInstance( in getInstance()
27 if (obj instanceof ContentInfo) in getInstance()
29 return (ContentInfo)obj; in getInstance()
34 return new ContentInfo(ASN1Sequence.getInstance(obj)); in getInstance()
40 private ContentInfo( in ContentInfo() method in ContentInfo
55 public ContentInfo( in ContentInfo() method in ContentInfo
DAuthenticatedSafe.java13 private ContentInfo[] info;
19 info = new ContentInfo[seq.size()]; in AuthenticatedSafe()
23 info[i] = ContentInfo.getInstance(seq.getObjectAt(i)); in AuthenticatedSafe()
46 ContentInfo[] info) in AuthenticatedSafe()
51 public ContentInfo[] getContentInfo() in getContentInfo()
DPfx.java19 private ContentInfo contentInfo;
31 contentInfo = ContentInfo.getInstance(seq.getObjectAt(1)); in Pfx()
56 ContentInfo contentInfo, in Pfx()
63 public ContentInfo getAuthSafe() in getAuthSafe()
DSignedData.java24 private ContentInfo contentInfo;
47 ContentInfo _contentInfo, in SignedData()
67 contentInfo = ContentInfo.getInstance(e.nextElement()); in SignedData()
110 public ContentInfo getContentInfo() in getContentInfo()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cmc/
DSimplePKIResponse.java6 import org.bouncycastle.asn1.cms.ContentInfo;
26 private static ContentInfo parseBytes(byte[] responseEncoding) in parseBytes()
31 return ContentInfo.getInstance(ASN1Primitive.fromByteArray(responseEncoding)); in parseBytes()
56 public SimplePKIResponse(ContentInfo signedData) in SimplePKIResponse()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedDataGenerator.java17 import org.bouncycastle.asn1.cms.ContentInfo;
204 ContentInfo encInfo = new ContentInfo(contentTypeOID, octs); in generate()
213 ContentInfo contentInfo = new ContentInfo( in generate()
DCMSSignedData.java25 import org.bouncycastle.asn1.cms.ContentInfo;
70 ContentInfo contentInfo;
140 ContentInfo sigData) in CMSSignedData()
175 ContentInfo sigData) in CMSSignedData()
184 ContentInfo sigData) in CMSSignedData()
374 public ContentInfo toASN1Structure() in toASN1Structure()
537 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceSigners()
614 cms.contentInfo = new ContentInfo(cms.contentInfo.getContentType(), cms.signedData); in replaceCertificatesAndCRLs()
DCMSUtils.java25 import org.bouncycastle.asn1.cms.ContentInfo;
89 static ContentInfo readContentInfo( in readContentInfo()
97 static ContentInfo readContentInfo( in readContentInfo()
259 private static ContentInfo readContentInfo( in readContentInfo()
265 ContentInfo info = ContentInfo.getInstance(in.readObject()); in readContentInfo()
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc67 using cricket::ContentInfo;
199 static bool IsMediaContentOfType(const ContentInfo* content, in IsMediaContentOfType()
207 GetMediaDirection(const ContentInfo* content) { in GetMediaDirection()
440 ContentInfo* ac_offer= offer->GetContentByName("audio"); in TestMediaDirectionInAnswer()
445 ContentInfo* vc_offer= offer->GetContentByName("video"); in TestMediaDirectionInAnswer()
461 bool VerifyNoCNCodecs(const cricket::ContentInfo* content) { in VerifyNoCNCodecs()
487 const ContentInfo* ac = offer->GetContentByName("audio"); in TEST_F()
488 const ContentInfo* vc = offer->GetContentByName("video"); in TEST_F()
511 const ContentInfo* ac = offer->GetContentByName("audio"); in TEST_F()
512 const ContentInfo* vc = offer->GetContentByName("video"); in TEST_F()
[all …]
Dmediasession.h535 bool IsMediaContent(const ContentInfo* content);
536 bool IsAudioContent(const ContentInfo* content);
537 bool IsVideoContent(const ContentInfo* content);
538 bool IsDataContent(const ContentInfo* content);
539 const ContentInfo* GetFirstAudioContent(const ContentInfos& contents);
540 const ContentInfo* GetFirstVideoContent(const ContentInfos& contents);
541 const ContentInfo* GetFirstDataContent(const ContentInfos& contents);
542 const ContentInfo* GetFirstAudioContent(const SessionDescription* sdesc);
543 const ContentInfo* GetFirstVideoContent(const SessionDescription* sdesc);
544 const ContentInfo* GetFirstDataContent(const SessionDescription* sdesc);
Dmediasession.cc88 static bool IsMediaContentOfType(const ContentInfo* content, in IsMediaContentOfType()
598 const ContentInfo* content = sdesc->GetContentByName(content_name); in GetCryptosByName()
647 ContentInfo* content = sdesc->GetContentByName(content_name); in IsRtpContent()
712 ContentInfo* content = sdesc->GetContentByName(*it); in UpdateCryptoParamsForBundle()
1155 const ContentInfo* content = in IsDtlsActive()
1562 const ContentInfo* current_audio_content = in AddAudioContentForOffer()
1621 const ContentInfo* current_video_content = in AddVideoContentForOffer()
1687 const ContentInfo* current_data_content = in AddDataContentForOffer()
1743 const ContentInfo* audio_content = GetFirstAudioContent(offer); in AddAudioContentForAnswer()
1802 const ContentInfo* video_content = GetFirstVideoContent(offer); in AddVideoContentForAnswer()
[all …]
Dchannel.h255 virtual const ContentInfo* GetFirstContent(
408 virtual const ContentInfo* GetFirstContent(const SessionDescription* sdesc);
491 virtual const ContentInfo* GetFirstContent(const SessionDescription* sdesc);
604 virtual const ContentInfo* GetFirstContent(const SessionDescription* sdesc);
Dchannel.cc137 const ContentInfo* cinfo) { in GetContentDescription()
762 const ContentInfo* content_info = GetFirstContent(local_desc); in PushdownLocalDescription()
776 const ContentInfo* content_info = GetFirstContent(remote_desc); in PushdownRemoteDescription()
1490 const ContentInfo* VoiceChannel::GetFirstContent( in GetFirstContent()
1761 const ContentInfo* VideoChannel::GetFirstContent( in GetFirstContent()
2049 const ContentInfo* DataChannel::GetFirstContent( in GetFirstContent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DPKIXCertPath.java34 import org.bouncycastle.asn1.pkcs.ContentInfo;
289 ContentInfo encInfo = new ContentInfo(PKCSObjectIdentifiers.data, null); in getEncoded()
305 return toDEREncoded(new ContentInfo( in getEncoded()
/external/webrtc/talk/app/webrtc/
Dwebrtcsession.cc59 using cricket::ContentInfo;
188 const ContentInfo* cinfo = &contents[index]; in VerifyCrypto()
227 const ContentInfo* cinfo = &contents[index]; in VerifyIceUfragPwdPresent()
275 const cricket::ContentInfo* audio_info = in GetAudioSsrcByTrackId()
300 const cricket::ContentInfo* audio_info = in GetTrackIdBySsrc()
315 const cricket::ContentInfo* video_info = in GetTrackIdBySsrc()
510 const ContentInfo* cinfo = &contents[index]; in CheckForRemoteIceRestart()
1722 cricket::ContentInfo content = in UseCandidate()
1756 const cricket::ContentInfo* video_info = in RemoveUnusedChannels()
1763 const cricket::ContentInfo* voice_info = in RemoveUnusedChannels()
[all …]
Dwebrtcsession.h412 bool CreateVoiceChannel(const cricket::ContentInfo* content);
413 bool CreateVideoChannel(const cricket::ContentInfo* content);
414 bool CreateDataChannel(const cricket::ContentInfo* content);
427 bool HasRtcpMuxEnabled(const cricket::ContentInfo* content);
Dpeerconnectioninterface_unittest.cc291 bool GetFirstSsrc(const cricket::ContentInfo* content_info, int* ssrc) { in GetFirstSsrc()
982 const cricket::ContentInfo* audio_content = in TEST_F()
990 const cricket::ContentInfo* video_content = in TEST_F()
1595 cricket::ContentInfo* data_info = in TEST_F()
1621 const cricket::ContentInfo* content = in TEST_F()
1674 const cricket::ContentInfo* video_content = in TEST_F()
1681 const cricket::ContentInfo* audio_content = in TEST_F()
1711 const cricket::ContentInfo* video_content = in TEST_F()
1718 const cricket::ContentInfo* audio_content = in TEST_F()
1905 cricket::ContentInfo* video_info = in TEST_F()
[all …]
Dwebrtcsdp_unittest.cc51 using cricket::ContentInfo;
814 const cricket::ContentInfo& c1 = desc1.contents().at(i); in CompareSessionDescription()
815 const cricket::ContentInfo& c2 = desc2.contents().at(i); in CompareSessionDescription()
1271 const ContentInfo* ac = GetFirstAudioContent(jdesc_output->description()); in TestDeserializeCodecParams()
1298 const ContentInfo* vc = GetFirstVideoContent(jdesc_output->description()); in TestDeserializeCodecParams()
1340 const ContentInfo* ac = GetFirstAudioContent(jdesc_output->description()); in TestDeserializeRtcpFb()
1351 const ContentInfo* vc = GetFirstVideoContent(jdesc_output->description()); in TestDeserializeRtcpFb()
2501 const ContentInfo* ac = GetFirstAudioContent(jdesc_output.description()); in TEST_F()
2556 const ContentInfo* vc = GetFirstVideoContent(jdesc_output.description()); in TEST_F()
2590 const ContentInfo* vc = GetFirstVideoContent(jdesc_output.description()); in TEST_F()
Dwebrtcsession_unittest.cc655 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyCryptoParams()
683 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyNoCryptoParams()
1354 bool VerifyNoCNCodecs(const cricket::ContentInfo* content) { in VerifyNoCNCodecs()
2388 const cricket::ContentInfo* content = in TEST_F()
2403 const cricket::ContentInfo* content = in TEST_F()
2430 const cricket::ContentInfo* content = in TEST_F()
2448 const cricket::ContentInfo* content = in TEST_F()
2469 const cricket::ContentInfo* content = in TEST_F()
2508 const cricket::ContentInfo* content = in TEST_F()
2533 const cricket::ContentInfo* content = in TEST_F()
[all …]
Dpeerconnection_unittest.cc69 using cricket::ContentInfo;
548 const ContentInfo* remote_audio_content = GetFirstAudioContent(remote_desc); in VerifyRejectedMediaInSessionDescription()
550 const ContentInfo* audio_content = in VerifyRejectedMediaInSessionDescription()
555 const ContentInfo* remote_video_content = GetFirstVideoContent(remote_desc); in VerifyRejectedMediaInSessionDescription()
557 const ContentInfo* video_content = in VerifyRejectedMediaInSessionDescription()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java75 import org.bouncycastle.asn1.pkcs.ContentInfo;
804 ContentInfo info = bag.getAuthSafe(); in engineLoad()
860 ContentInfo[] c = authSafe.getContentInfo(); in engineLoad()
1599 ContentInfo[] info = new ContentInfo[] in doStore()
1601 new ContentInfo(data, keyString), in doStore()
1602 new ContentInfo(encryptedData, cInfo.toASN1Primitive()) in doStore()
1622 ContentInfo mainInfo = new ContentInfo(data, new BEROctetString(pkg)); in doStore()

12