Modified: websites/production/turbine/content/fulcrum/fulcrum-yaafi-crypto/apidocs/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-yaafi-crypto/apidocs/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-yaafi-crypto/apidocs/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html Tue May 21 03:58:58 2019 @@ -1,107 +1,121 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.5.0_16) on Sun Mar 29 23:46:34 CEST 2009 --> -<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<TITLE> -CryptoStreamFactoryImpl (Fulcrum YAAFI Crypto 1.0.7-SNAPSHOT API) -</TITLE> - -<META NAME="keywords" CONTENT="org.apache.fulcrum.jce.crypto.CryptoStreamFactoryImpl class"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - parent.document.title="CryptoStreamFactoryImpl (Fulcrum YAAFI Crypto 1.0.7-SNAPSHOT API)"; -} -</SCRIPT> -<NOSCRIPT> -</NOSCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> - - +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>CryptoStreamFactoryImpl (Fulcrum YAAFI Crypto 1.0.7 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CryptoStreamFactoryImpl (Fulcrum YAAFI Crypto 1.0.7 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/fulcrum/jce/crypto/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CryptoStreamFactoryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto"><B>PREV CLASS</B></A> - <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoUtil.html" title="class in org.apache.fulcrum.jce.crypto"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../index.html?org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html" target="_top"><B>FRAMES</B></A> - <A HREF="CryptoStreamFactoryImpl.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/CryptoStreamFactoryImpl.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoUtil.html" title="class in org.apache.fulcrum.jce.crypto"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html" target="_top">Frames</a></li> +<li><a href="CryptoStreamFactoryImpl.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { - document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; } //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_top"></A> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> <!-- ========= END OF TOP NAVBAR ========= --> - -<HR> <!-- ======== START OF CLASS DATA ======== --> -<H2> -<FONT SIZE="-1"> -org.apache.fulcrum.jce.crypto</FONT> -<BR> -Class CryptoStreamFactoryImpl</H2> -<PRE> -<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> - <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.fulcrum.jce.crypto.CryptoStreamFactoryImpl</B> -</PRE> -<DL> -<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></DD> -</DL> -<HR> -<DL> -<DT><PRE>public final class <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.55"><B>CryptoStreamFactoryImpl</B></A><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></DL> -</PRE> - -<P> -Concrete factory for creating encrypting/decrypting streams. The +<div class="header"> +<div class="subTitle">org.apache.fulcrum.jce.crypto</div> +<h2 title="Class CryptoStreamFactoryImpl" class="title">Class CryptoStreamFactoryImpl</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.fulcrum.jce.crypto.CryptoStreamFactoryImpl</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></dd> +</dl> +<hr> +<br> +<pre>public final class <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.55">CryptoStreamFactoryImpl</a> +extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></pre> +<div class="block">Concrete factory for creating encrypting/decrypting streams. The implementation uses the JCA (Java Crypto Extension) supplied by SUN (using SunJCE 1.42). @@ -114,483 +128,504 @@ Concrete factory for creating encrypting password in the application. The code uses parts from Markus Hahn's Blowfish library found at - http://blowfishj.sourceforge.net/ -<P> - -<P> -<DL> -<DT><B>Author:</B></DT> - <DD><a href="mailto:[email protected]">Siegfried Goeschl </a>, <a href="mailto:[email protected]">Markus Hahn</a></DD> -</DL> -<HR> - -<P> - + http://blowfishj.sourceforge.net/</div> +<dl> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd><a href="mailto:[email protected]">Siegfried Goeschl </a>, <a href="mailto:[email protected]">Markus Hahn</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> - -<A NAME="constructor_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Constructor Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#CryptoStreamFactoryImpl()">CryptoStreamFactoryImpl</A></B>()</CODE> - -<BR> - Constructor</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#CryptoStreamFactoryImpl(byte[], int)">CryptoStreamFactoryImpl</A></B>(byte[] salt, - int count)</CODE> - -<BR> - Constructor</TD> -</TR> -</TABLE> - +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#CryptoStreamFactoryImpl--">CryptoStreamFactoryImpl</a></span>()</code> +<div class="block">Constructor</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#CryptoStreamFactoryImpl-byte:A-int-">CryptoStreamFactoryImpl</a></span>(byte[] salt, + int count)</code> +<div class="block">Constructor</div> +</td> +</tr> +</table> +</li> +</ul> <!-- ========== METHOD SUMMARY =========== --> - -<A NAME="method_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Method Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream(java.io.InputStream)">getInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is)</CODE> - -<BR> - Creates a decrypting input stream using the default password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream(java.io.InputStream, char[])">getInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - char[] password)</CODE> - -<BR> - Creates an decrypting input stream using a given password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream(java.io.InputStream, java.lang.String)">getInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> decryptionMode)</CODE> - -<BR> - Creates input stream based on the decryption mode - using the default password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream(java.io.InputStream, java.lang.String, char[])">getInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> decryptionMode, - char[] password)</CODE> - -<BR> - Creates input stream based on the decryption mode - using the given password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInstance()">getInstance</A></B>()</CODE> - -<BR> - Factory method to get a default instance</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getOutputStream(java.io.OutputStream)">getOutputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> os)</CODE> - -<BR> - Creates an encrypting output stream using the default password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getOutputStream(java.io.OutputStream, char[])">getOutputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> os, - char[] password)</CODE> - -<BR> - Creates an encrypting output stream using the given password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getSmartInputStream(java.io.InputStream)">getSmartInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is)</CODE> - -<BR> - Creates a smart decrypting input stream using the default - password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getSmartInputStream(java.io.InputStream, char[])">getSmartInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - char[] password)</CODE> - -<BR> - Creates a smart decrypting input stream using a given - password.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#setInstance(org.apache.fulcrum.jce.crypto.CryptoStreamFactory)">setInstance</A></B>(<A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A> instance)</CODE> - -<BR> - Set the default instance from an external application.</TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/ docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> -</TR> -</TABLE> - -<P> - +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream-java.io.InputStream-">getInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is)</code> +<div class="block">Creates a decrypting input stream using the default password.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream-java.io.InputStream-char:A-">getInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + char[] password)</code> +<div class="block">Creates an decrypting input stream using a given password.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream-java.io.InputStream-java.lang.String-">getInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> decryptionMode)</code> +<div class="block">Creates input stream based on the decryption mode + using the default password.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInputStream-java.io.InputStream-java.lang.String-char:A-">getInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> decryptionMode, + char[] password)</code> +<div class="block">Creates input stream based on the decryption mode + using the given password.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getInstance--">getInstance</a></span>()</code> +<div class="block">Factory method to get a default instance</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getOutputStream-java.io.OutputStream-">getOutputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os)</code> +<div class="block">Creates an encrypting output stream using the default password.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getOutputStream-java.io.OutputStream-char:A-">getOutputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os, + char[] password)</code> +<div class="block">Creates an encrypting output stream using the given password.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getSmartInputStream-java.io.InputStream-">getSmartInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is)</code> +<div class="block">Creates a smart decrypting input stream using the default + password.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#getSmartInputStream-java.io.InputStream-char:A-">getSmartInputStream</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + char[] password)</code> +<div class="block">Creates a smart decrypting input stream using a given + password.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#setInstance-org.apache.fulcrum.jce.crypto.CryptoStreamFactory-">setInstance</a></span>(<a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a> instance)</code> +<div class="block">Set the default instance from an external application.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> - -<A NAME="constructor_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Constructor Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="CryptoStreamFactoryImpl()"><!-- --></A><H3> -CryptoStreamFactoryImpl</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.105"><B>CryptoStreamFactoryImpl</B></A>()</PRE> -<DL> -<DD>Constructor -<P> -</DL> -<HR> - -<A NAME="CryptoStreamFactoryImpl(byte[], int)"><!-- --></A><H3> -CryptoStreamFactoryImpl</H3> -<PRE> -public <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.119"><B>CryptoStreamFactoryImpl</B></A>(byte[] salt, - int count)</PRE> -<DL> -<DD>Constructor -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>salt</CODE> - the salt for the PBE algorithm<DD><CODE>count</CODE> - the iteration for PBEParameterSpec</DL> -</DL> - +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="CryptoStreamFactoryImpl--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>CryptoStreamFactoryImpl</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.105">CryptoStreamFactoryImpl</a>()</pre> +<div class="block">Constructor</div> +</li> +</ul> +<a name="CryptoStreamFactoryImpl-byte:A-int-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CryptoStreamFactoryImpl</h4> +<pre>public <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.119">CryptoStreamFactoryImpl</a>(byte[] salt, + int count)</pre> +<div class="block">Constructor</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>salt</code> - the salt for the PBE algorithm</dd> +<dd><code>count</code> - the iteration for PBEParameterSpec</dd> +</dl> +</li> +</ul> +</li> +</ul> <!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="getInstance()"><!-- --></A><H3> -getInstance</H3> -<PRE> -public static <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.83"><B>getInstance</B></A>()</PRE> -<DL> -<DD>Factory method to get a default instance -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>an instance of the CryptoStreamFactory</DL> -</DD> -</DL> -<HR> - -<A NAME="setInstance(org.apache.fulcrum.jce.crypto.CryptoStreamFactory)"><!-- --></A><H3> -setInstance</H3> -<PRE> -public static void <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.97"><B>setInstance</B></A>(<A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A> instance)</PRE> -<DL> -<DD>Set the default instance from an external application. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>instance</CODE> - the new default instance</DL> -</DD> -</DL> -<HR> - -<A NAME="getInputStream(java.io.InputStream, java.lang.String)"><!-- --></A><H3> -getInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.131"><B>getInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> decryptionMode) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String)">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates input stream based on the decryption mode - using the default password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String)">getInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped<DD><CODE>decryptionMode</CODE> - the decryption mode (true|false|auto) -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String)"><CODE>CryptoStreamFactory.getInputStream(java.io.InputStream, String)</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getInputStream(java.io.InputStream, java.lang.String, char[])"><!-- --></A><H3> -getInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.153"><B>getInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, - <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> decryptionMode, +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getInstance--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInstance</h4> +<pre>public static <a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.83">getInstance</a>()</pre> +<div class="block">Factory method to get a default instance</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an instance of the CryptoStreamFactory</dd> +</dl> +</li> +</ul> +<a name="setInstance-org.apache.fulcrum.jce.crypto.CryptoStreamFactory-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInstance</h4> +<pre>public static void <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.97">setInstance</a>(<a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a> instance)</pre> +<div class="block">Set the default instance from an external application.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>instance</code> - the new default instance</dd> +</dl> +</li> +</ul> +<a name="getInputStream-java.io.InputStream-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.131">getInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> decryptionMode) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates input stream based on the decryption mode + using the default password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-">getInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dd><code>decryptionMode</code> - the decryption mode (true|false|auto)</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-"><code>CryptoStreamFactory.getInputStream(java.io.InputStream, String)</code></a></dd> +</dl> +</li> +</ul> +<a name="getInputStream-java.io.InputStream-java.lang.String-char:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.153">getInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, + <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> decryptionMode, char[] password) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String, char[])">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates input stream based on the decryption mode - using the given password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String, char[])">getInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped<DD><CODE>decryptionMode</CODE> - the decryption mode (true|false|auto)<DD><CODE>password</CODE> - the password to be used -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, java.lang.String, char[])"><CODE>CryptoStreamFactory.getInputStream(java.io.InputStream, String, char[])</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getInputStream(java.io.InputStream)"><!-- --></A><H3> -getInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.175"><B>getInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream)">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates a decrypting input stream using the default password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream)">getInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream)"><CODE>CryptoStreamFactory.getInputStream(java.io.InputStream)</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getInputStream(java.io.InputStream, char[])"><!-- --></A><H3> -getInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.185"><B>getInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-char:A-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates input stream based on the decryption mode + using the given password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-char:A-">getInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dd><code>decryptionMode</code> - the decryption mode (true|false|auto)</dd> +<dd><code>password</code> - the password to be used</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-java.lang.String-char:A-"><code>CryptoStreamFactory.getInputStream(java.io.InputStream, String, char[])</code></a></dd> +</dl> +</li> +</ul> +<a name="getInputStream-java.io.InputStream-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.175">getInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates a decrypting input stream using the default password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-">getInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-"><code>CryptoStreamFactory.getInputStream(java.io.InputStream)</code></a></dd> +</dl> +</li> +</ul> +<a name="getInputStream-java.io.InputStream-char:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.185">getInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, char[] password) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, char[])">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates an decrypting input stream using a given password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, char[])">getInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped<DD><CODE>password</CODE> - the password to be used -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream(java.io.InputStream, char[])"><CODE>CryptoStreamFactory.getInputStream(java.io.InputStream,char[])</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getSmartInputStream(java.io.InputStream)"><!-- --></A><H3> -getSmartInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.195"><B>getSmartInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream)">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates a smart decrypting input stream using the default + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-char:A-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates an decrypting input stream using a given password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-char:A-">getInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dd><code>password</code> - the password to be used</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getInputStream-java.io.InputStream-char:A-"><code>CryptoStreamFactory.getInputStream(java.io.InputStream,char[])</code></a></dd> +</dl> +</li> +</ul> +<a name="getSmartInputStream-java.io.InputStream-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSmartInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.195">getSmartInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates a smart decrypting input stream using the default password. The implementation looks at the binary content to decide if it was encrypted or not thereby providing - transparent access to encrypted/unencrypted files. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream)">getSmartInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream)"><CODE>CryptoStreamFactory.getSmartInputStream(java.io.InputStream)</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getSmartInputStream(java.io.InputStream, char[])"><!-- --></A><H3> -getSmartInputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.207"><B>getSmartInputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is, + transparent access to encrypted/unencrypted files.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-">getSmartInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-"><code>CryptoStreamFactory.getSmartInputStream(java.io.InputStream)</code></a></dd> +</dl> +</li> +</ul> +<a name="getSmartInputStream-java.io.InputStream-char:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSmartInputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.207">getSmartInputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is, char[] password) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream, char[])">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates a smart decrypting input stream using a given + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-char:A-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates a smart decrypting input stream using a given password. The implementation looks at the binary content to decide if it was encrypted or not thereby providing - transparent access to encrypted/unencrypted files. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream, char[])">getSmartInputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>is</CODE> - the input stream to be wrapped<DD><CODE>password</CODE> - the password to be used -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the input stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the input stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream(java.io.InputStream, char[])"><CODE>CryptoStreamFactory.getSmartInputStream(java.io.InputStream,char[])</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getOutputStream(java.io.OutputStream)"><!-- --></A><H3> -getOutputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.224"><B>getOutputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> os) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream)">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates an encrypting output stream using the default password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream)">getOutputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>os</CODE> - the output stream to be wrapped -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the ouptut stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the ouptut stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream)"><CODE>CryptoStreamFactory.getOutputStream(java.io.OutputStream)</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getOutputStream(java.io.OutputStream, char[])"><!-- --></A><H3> -getOutputStream</H3> -<PRE> -public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> <A HREF="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.233"><B>getOutputStream</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> os, + transparent access to encrypted/unencrypted files.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-char:A-">getSmartInputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>is</code> - the input stream to be wrapped</dd> +<dd><code>password</code> - the password to be used</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the input stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the input stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getSmartInputStream-java.io.InputStream-char:A-"><code>CryptoStreamFactory.getSmartInputStream(java.io.InputStream,char[])</code></a></dd> +</dl> +</li> +</ul> +<a name="getOutputStream-java.io.OutputStream-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOutputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.224">getOutputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os) + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates an encrypting output stream using the default password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-">getOutputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>os</code> - the output stream to be wrapped</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the ouptut stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the ouptut stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-"><code>CryptoStreamFactory.getOutputStream(java.io.OutputStream)</code></a></dd> +</dl> +</li> +</ul> +<a name="getOutputStream-java.io.OutputStream-char:A-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getOutputStream</h4> +<pre>public <a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> <a href="../../../../../src-html/org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html#line.233">getOutputStream</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os, char[] password) - throws <A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A>, - <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream, char[])">CryptoStreamFactory</A></CODE></B></DD> -<DD>Creates an encrypting output stream using the given password. -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream, char[])">getOutputStream</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>os</CODE> - the output stream to be wrapped<DD><CODE>password</CODE> - the password to be used -<DT><B>Returns:</B><DD>an decrypting input stream -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/GeneralSecurityException.html" title="class or interface in java.security">GeneralSecurityException</A></CODE> - creating the ouptut stream failed -<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - creating the ouptut stream failed<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream(java.io.OutputStream, char[])"><CODE>CryptoStreamFactory.getOutputStream(java.io.OutputStream, char[])</CODE></A></DL> -</DD> -</DL> + throws <a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a>, + <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-char:A-">CryptoStreamFactory</a></code></span></div> +<div class="block">Creates an encrypting output stream using the given password.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-char:A-">getOutputStream</a></code> in interface <code><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto">CryptoStreamFactory</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>os</code> - the output stream to be wrapped</dd> +<dd><code>password</code> - the password to be used</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an decrypting input stream</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - creating the ouptut stream failed</dd> +<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - creating the ouptut stream failed</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html#getOutputStream-java.io.OutputStream-char:A-"><code>CryptoStreamFactory.getOutputStream(java.io.OutputStream, char[])</code></a></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> <!-- ========= END OF CLASS DATA ========= --> -<HR> - - <!-- ======= START OF BOTTOM NAVBAR ====== --> -<A NAME="navbar_bottom"><!-- --></A> -<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_bottom_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/fulcrum/jce/crypto/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CryptoStreamFactoryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto"><B>PREV CLASS</B></A> - <A HREF="../../../../../org/apache/fulcrum/jce/crypto/CryptoUtil.html" title="class in org.apache.fulcrum.jce.crypto"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../index.html?org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html" target="_top"><B>FRAMES</B></A> - <A HREF="CryptoStreamFactoryImpl.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/CryptoStreamFactoryImpl.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoStreamFactory.html" title="interface in org.apache.fulcrum.jce.crypto"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/fulcrum/jce/crypto/CryptoUtil.html" title="class in org.apache.fulcrum.jce.crypto"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/fulcrum/jce/crypto/CryptoStreamFactoryImpl.html" target="_top">Frames</a></li> +<li><a href="CryptoStreamFactoryImpl.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { - document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; } //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_bottom"></A> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> - -<HR> -Copyright © 2008-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. -</BODY> -</HTML> +<p class="legalCopy"><small>Copyright © 2008–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> \ No newline at end of file
