PageRenderTime 132ms CodeModel.GetById 24ms RepoModel.GetById 2ms app.codeStats 0ms

/lib/bouncycastle/docs/org/bouncycastle/asn1/cms/KEKRecipientInfo.html

https://bitbucket.org/arkban/somersault
HTML | 438 lines | 370 code | 45 blank | 23 comment | 0 complexity | 39cdb72e69fe770cc71cabc529468472 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0) on Mon Jan 11 13:46:33 EST 2010 -->
  6. <TITLE>
  7. KEKRecipientInfo (Bouncy Castle Library 1.45 API Specification)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-01-11">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="KEKRecipientInfo (Bouncy Castle Library 1.45 API Specification)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KeyAgreeRecipientIdentifier.html" title="class in org.bouncycastle.asn1.cms"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/bouncycastle/asn1/cms/KEKRecipientInfo.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="KEKRecipientInfo.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.bouncycastle.asn1.cms</FONT>
  80. <BR>
  81. Class KEKRecipientInfo</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">org.bouncycastle.asn1.ASN1Encodable</A>
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.asn1.cms.KEKRecipientInfo</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/asn1/DEREncodable.html" title="interface in org.bouncycastle.asn1">DEREncodable</A></DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>KEKRecipientInfo</B><DT>extends <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></DL>
  93. </PRE>
  94. <P>
  95. <HR>
  96. <P>
  97. <!-- =========== FIELD SUMMARY =========== -->
  98. <A NAME="field_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Field Summary</B></FONT></TH>
  103. </TR>
  104. </TABLE>
  105. &nbsp;<A NAME="fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
  106. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  107. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  108. <TH ALIGN="left"><B>Fields inherited from class org.bouncycastle.asn1.<A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></B></TH>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#BER">BER</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#DER">DER</A></CODE></TD>
  112. </TR>
  113. </TABLE>
  114. &nbsp;
  115. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  116. <A NAME="constructor_summary"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  119. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  120. <B>Constructor Summary</B></FONT></TH>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#KEKRecipientInfo(org.bouncycastle.asn1.ASN1Sequence)">KEKRecipientInfo</A></B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A>&nbsp;seq)</CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#KEKRecipientInfo(org.bouncycastle.asn1.cms.KEKIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.ASN1OctetString)">KEKRecipientInfo</A></B>(<A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms">KEKIdentifier</A>&nbsp;kekid,
  129. <A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A>&nbsp;keyEncryptionAlgorithm,
  130. <A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A>&nbsp;encryptedKey)</CODE>
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  133. </TR>
  134. </TABLE>
  135. &nbsp;
  136. <!-- ========== METHOD SUMMARY =========== -->
  137. <A NAME="method_summary"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  140. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  141. <B>Method Summary</B></FONT></TH>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>&nbsp;<A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A></CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getEncryptedKey()">getEncryptedKey</A></B>()</CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  152. <CODE>static&nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html" title="class in org.bouncycastle.asn1.cms">KEKRecipientInfo</A></CODE></FONT></TD>
  153. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean)">getInstance</A></B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1TaggedObject.html" title="class in org.bouncycastle.asn1">ASN1TaggedObject</A>&nbsp;obj,
  154. boolean&nbsp;explicit)</CODE>
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return a KEKRecipientInfo object from a tagged object.</TD>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  160. <CODE>static&nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html" title="class in org.bouncycastle.asn1.cms">KEKRecipientInfo</A></CODE></FONT></TD>
  161. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getInstance(java.lang.Object)">getInstance</A></B>(java.lang.Object&nbsp;obj)</CODE>
  162. <BR>
  163. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return a KEKRecipientInfo object from the given object.</TD>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>&nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms">KEKIdentifier</A></CODE></FONT></TD>
  168. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getKekid()">getKekid</A></B>()</CODE>
  169. <BR>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  171. </TR>
  172. <TR BGCOLOR="white" CLASS="TableRowColor">
  173. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  174. <CODE>&nbsp;<A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A></CODE></FONT></TD>
  175. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getKeyEncryptionAlgorithm()">getKeyEncryptionAlgorithm</A></B>()</CODE>
  176. <BR>
  177. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  178. </TR>
  179. <TR BGCOLOR="white" CLASS="TableRowColor">
  180. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  181. <CODE>&nbsp;<A HREF="../../../../org/bouncycastle/asn1/DERInteger.html" title="class in org.bouncycastle.asn1">DERInteger</A></CODE></FONT></TD>
  182. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#getVersion()">getVersion</A></B>()</CODE>
  183. <BR>
  184. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  185. </TR>
  186. <TR BGCOLOR="white" CLASS="TableRowColor">
  187. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  188. <CODE>&nbsp;<A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD>
  189. <TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html#toASN1Object()">toASN1Object</A></B>()</CODE>
  190. <BR>
  191. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produce an object suitable for an ASN1OutputStream.</TD>
  192. </TR>
  193. </TABLE>
  194. &nbsp;<A NAME="methods_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
  195. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  196. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  197. <TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.asn1.<A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></B></TH>
  198. </TR>
  199. <TR BGCOLOR="white" CLASS="TableRowColor">
  200. <TD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getDEREncoded()">getDEREncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getDERObject()">getDERObject</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getEncoded()">getEncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getEncoded(java.lang.String)">getEncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#hashCode()">hashCode</A></CODE></TD>
  201. </TR>
  202. </TABLE>
  203. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  204. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  205. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  206. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  207. </TR>
  208. <TR BGCOLOR="white" CLASS="TableRowColor">
  209. <TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  210. </TR>
  211. </TABLE>
  212. &nbsp;
  213. <P>
  214. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  215. <A NAME="constructor_detail"><!-- --></A>
  216. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  217. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  218. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  219. <B>Constructor Detail</B></FONT></TH>
  220. </TR>
  221. </TABLE>
  222. <A NAME="KEKRecipientInfo(org.bouncycastle.asn1.cms.KEKIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.ASN1OctetString)"><!-- --></A><H3>
  223. KEKRecipientInfo</H3>
  224. <PRE>
  225. public <B>KEKRecipientInfo</B>(<A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms">KEKIdentifier</A>&nbsp;kekid,
  226. <A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A>&nbsp;keyEncryptionAlgorithm,
  227. <A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A>&nbsp;encryptedKey)</PRE>
  228. <DL>
  229. </DL>
  230. <HR>
  231. <A NAME="KEKRecipientInfo(org.bouncycastle.asn1.ASN1Sequence)"><!-- --></A><H3>
  232. KEKRecipientInfo</H3>
  233. <PRE>
  234. public <B>KEKRecipientInfo</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A>&nbsp;seq)</PRE>
  235. <DL>
  236. </DL>
  237. <!-- ============ METHOD DETAIL ========== -->
  238. <A NAME="method_detail"><!-- --></A>
  239. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  240. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  241. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  242. <B>Method Detail</B></FONT></TH>
  243. </TR>
  244. </TABLE>
  245. <A NAME="getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean)"><!-- --></A><H3>
  246. getInstance</H3>
  247. <PRE>
  248. public static <A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html" title="class in org.bouncycastle.asn1.cms">KEKRecipientInfo</A> <B>getInstance</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1TaggedObject.html" title="class in org.bouncycastle.asn1">ASN1TaggedObject</A>&nbsp;obj,
  249. boolean&nbsp;explicit)</PRE>
  250. <DL>
  251. <DD>return a KEKRecipientInfo object from a tagged object.
  252. <P>
  253. <DD><DL>
  254. <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the tagged object holding the object we want.<DD><CODE>explicit</CODE> - true if the object is meant to be explicitly
  255. tagged false otherwise.
  256. <DT><B>Throws:</B>
  257. <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object held by the
  258. tagged object cannot be converted.</DL>
  259. </DD>
  260. </DL>
  261. <HR>
  262. <A NAME="getInstance(java.lang.Object)"><!-- --></A><H3>
  263. getInstance</H3>
  264. <PRE>
  265. public static <A HREF="../../../../org/bouncycastle/asn1/cms/KEKRecipientInfo.html" title="class in org.bouncycastle.asn1.cms">KEKRecipientInfo</A> <B>getInstance</B>(java.lang.Object&nbsp;obj)</PRE>
  266. <DL>
  267. <DD>return a KEKRecipientInfo object from the given object.
  268. <P>
  269. <DD><DL>
  270. <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object we want converted.
  271. <DT><B>Throws:</B>
  272. <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object cannot be converted.</DL>
  273. </DD>
  274. </DL>
  275. <HR>
  276. <A NAME="getVersion()"><!-- --></A><H3>
  277. getVersion</H3>
  278. <PRE>
  279. public <A HREF="../../../../org/bouncycastle/asn1/DERInteger.html" title="class in org.bouncycastle.asn1">DERInteger</A> <B>getVersion</B>()</PRE>
  280. <DL>
  281. <DD><DL>
  282. </DL>
  283. </DD>
  284. </DL>
  285. <HR>
  286. <A NAME="getKekid()"><!-- --></A><H3>
  287. getKekid</H3>
  288. <PRE>
  289. public <A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms">KEKIdentifier</A> <B>getKekid</B>()</PRE>
  290. <DL>
  291. <DD><DL>
  292. </DL>
  293. </DD>
  294. </DL>
  295. <HR>
  296. <A NAME="getKeyEncryptionAlgorithm()"><!-- --></A><H3>
  297. getKeyEncryptionAlgorithm</H3>
  298. <PRE>
  299. public <A HREF="../../../../org/bouncycastle/asn1/x509/AlgorithmIdentifier.html" title="class in org.bouncycastle.asn1.x509">AlgorithmIdentifier</A> <B>getKeyEncryptionAlgorithm</B>()</PRE>
  300. <DL>
  301. <DD><DL>
  302. </DL>
  303. </DD>
  304. </DL>
  305. <HR>
  306. <A NAME="getEncryptedKey()"><!-- --></A><H3>
  307. getEncryptedKey</H3>
  308. <PRE>
  309. public <A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A> <B>getEncryptedKey</B>()</PRE>
  310. <DL>
  311. <DD><DL>
  312. </DL>
  313. </DD>
  314. </DL>
  315. <HR>
  316. <A NAME="toASN1Object()"><!-- --></A><H3>
  317. toASN1Object</H3>
  318. <PRE>
  319. public <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A> <B>toASN1Object</B>()</PRE>
  320. <DL>
  321. <DD>Produce an object suitable for an ASN1OutputStream.
  322. <pre>
  323. KEKRecipientInfo ::= SEQUENCE {
  324. version CMSVersion, -- always set to 4
  325. kekid KEKIdentifier,
  326. keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
  327. encryptedKey EncryptedKey
  328. }
  329. </pre>
  330. <P>
  331. <DD><DL>
  332. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#toASN1Object()">toASN1Object</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></CODE></DL>
  333. </DD>
  334. <DD><DL>
  335. </DL>
  336. </DD>
  337. </DL>
  338. <!-- ========= END OF CLASS DATA ========= -->
  339. <HR>
  340. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  341. <A NAME="navbar_bottom"><!-- --></A>
  342. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  343. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  344. <TR>
  345. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  346. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  347. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  348. <TR ALIGN="center" VALIGN="top">
  349. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  350. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  351. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  352. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  353. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  354. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  355. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  356. </TR>
  357. </TABLE>
  358. </TD>
  359. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  360. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  361. </TD>
  362. </TR>
  363. <TR>
  364. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  365. &nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KEKIdentifier.html" title="class in org.bouncycastle.asn1.cms"><B>PREV CLASS</B></A>&nbsp;
  366. &nbsp;<A HREF="../../../../org/bouncycastle/asn1/cms/KeyAgreeRecipientIdentifier.html" title="class in org.bouncycastle.asn1.cms"><B>NEXT CLASS</B></A></FONT></TD>
  367. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  368. <A HREF="../../../../index.html?org/bouncycastle/asn1/cms/KEKRecipientInfo.html" target="_top"><B>FRAMES</B></A> &nbsp;
  369. &nbsp;<A HREF="KEKRecipientInfo.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  370. &nbsp;<SCRIPT type="text/javascript">
  371. <!--
  372. if(window==top) {
  373. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  374. }
  375. //-->
  376. </SCRIPT>
  377. <NOSCRIPT>
  378. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  379. </NOSCRIPT>
  380. </FONT></TD>
  381. </TR>
  382. <TR>
  383. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  384. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  385. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  386. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  387. </TR>
  388. </TABLE>
  389. <A NAME="skip-navbar_bottom"></A>
  390. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  391. <HR>
  392. </BODY>
  393. </HTML>