blob: 96d60f8348cfec07d743414c29155d3f9ec14358 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_201) on Sat May 02 22:21:41 CEST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index (Apache Shiro :: Cryptography :: Ciphers 1.5.3 API)</title>
<meta name="date" content="2020-05-02">
<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="Index (Apache Shiro :: Cryptography :: Ciphers 1.5.3 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<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/shiro/crypto/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="org/apache/shiro/crypto/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#I:A">A</a>&nbsp;<a href="#I:B">B</a>&nbsp;<a href="#I:C">C</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:I">I</a>&nbsp;<a href="#I:J">J</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:V">V</a>&nbsp;<a name="I:A">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html" title="class in org.apache.shiro.crypto"><span class="typeNameLink">AbstractSymmetricCipherService</span></a> - Class in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">Base abstract class for supporting symmetric key cipher algorithms.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html#AbstractSymmetricCipherService-java.lang.String-">AbstractSymmetricCipherService(String)</a></span> - Constructor for class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html" title="class in org.apache.shiro.crypto">AbstractSymmetricCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><a href="org/apache/shiro/crypto/AesCipherService.html" title="class in org.apache.shiro.crypto"><span class="typeNameLink">AesCipherService</span></a> - Class in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block"><code>CipherService</code> using the <code>AES</code> cipher algorithm for all encryption, decryption, and key operations.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/AesCipherService.html#AesCipherService--">AesCipherService()</a></span> - Constructor for class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/AesCipherService.html" title="class in org.apache.shiro.crypto">AesCipherService</a></dt>
<dd>
<div class="block">Creates a new <a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto"><code>CipherService</code></a> instance using the <code>AES</code> cipher algorithm with the following
important cipher default attributes:
Attribute
Value
<a href="org/apache/shiro/crypto/JcaCipherService.html#setKeySize-int-"><code>keySize</code></a>
<code>128</code> bits
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setBlockSize-int-"><code>blockSize</code></a>
<code>128</code> bits (required for <code>AES</code>
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setMode-org.apache.shiro.crypto.OperationMode-"><code>mode</code></a>
<a href="org/apache/shiro/crypto/OperationMode.html#GCM"><code>GCM</code></a><b>*</b>
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setPaddingScheme-org.apache.shiro.crypto.PaddingScheme-"><code>paddingScheme</code></a>
<a href="org/apache/shiro/crypto/PaddingScheme.html#NONE"><code>NoPadding</code></a>***
<a href="org/apache/shiro/crypto/JcaCipherService.html#setInitializationVectorSize-int-"><code>initializationVectorSize</code></a>
<code>128</code> bits
<a href="org/apache/shiro/crypto/JcaCipherService.html#setGenerateInitializationVectors-boolean-"><code>generateInitializationVectors</code></a>
<code>true</code><b>**</b>
<p/>
<b>*</b> The <a href="org/apache/shiro/crypto/OperationMode.html#GCM"><code>GCM</code></a> operation mode is used instead of the JDK default <code>ECB</code> to
ensure strong encryption.</div>
</dd>
</dl>
<a name="I:B">
<!-- -->
</a>
<h2 class="title">B</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/BlowfishCipherService.html" title="class in org.apache.shiro.crypto"><span class="typeNameLink">BlowfishCipherService</span></a> - Class in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block"><code>CipherService</code> using the <code>Blowfish</code> cipher algorithm for all encryption, decryption, and key operations.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/BlowfishCipherService.html#BlowfishCipherService--">BlowfishCipherService()</a></span> - Constructor for class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/BlowfishCipherService.html" title="class in org.apache.shiro.crypto">BlowfishCipherService</a></dt>
<dd>
<div class="block">Creates a new <a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto"><code>CipherService</code></a> instance using the <code>Blowfish</code> cipher algorithm with the following
important cipher default attributes:
Attribute
Value
<a href="org/apache/shiro/crypto/JcaCipherService.html#setKeySize-int-"><code>keySize</code></a>
<code>128</code> bits
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setBlockSize-int-"><code>blockSize</code></a>
<code>64</code> bits (required for <code>Blowfish</code>)
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setMode-org.apache.shiro.crypto.OperationMode-"><code>mode</code></a>
<a href="org/apache/shiro/crypto/OperationMode.html#CBC"><code>CBC</code></a><b>*</b>
<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setPaddingScheme-org.apache.shiro.crypto.PaddingScheme-"><code>paddingScheme</code></a>
<a href="org/apache/shiro/crypto/PaddingScheme.html#PKCS5"><code>PKCS5</code></a>
<a href="org/apache/shiro/crypto/JcaCipherService.html#setInitializationVectorSize-int-"><code>initializationVectorSize</code></a>
<code>64</code> bits
<a href="org/apache/shiro/crypto/JcaCipherService.html#setGenerateInitializationVectors-boolean-"><code>generateInitializationVectors</code></a>
<code>true</code><b>**</b>
<p/>
<b>*</b> The <a href="org/apache/shiro/crypto/OperationMode.html#CBC"><code>CBC</code></a> operation mode is used instead of the JDK default <code>ECB</code> to
ensure strong encryption.</div>
</dd>
</dl>
<a name="I:C">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto"><span class="typeNameLink">CipherService</span></a> - Interface in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">A <code>CipherService</code> uses a cryptographic algorithm called a
<a href="http://en.wikipedia.org/wiki/Cipher">Cipher</a> to convert an original input source using a <code>key</code> to
an uninterpretable format.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/AesCipherService.html#createParameterSpec-byte:A-boolean-">createParameterSpec(byte[], boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/AesCipherService.html" title="class in org.apache.shiro.crypto">AesCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#createParameterSpec-byte:A-boolean-">createParameterSpec(byte[], boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:D">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/CipherService.html#decrypt-byte:A-byte:A-">decrypt(byte[], byte[])</a></span> - Method in interface org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto">CipherService</a></dt>
<dd>
<div class="block">Decrypts encrypted data via the specified cipher key and returns the original (pre-encrypted) data.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/CipherService.html#decrypt-java.io.InputStream-java.io.OutputStream-byte:A-">decrypt(InputStream, OutputStream, byte[])</a></span> - Method in interface org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto">CipherService</a></dt>
<dd>
<div class="block">Receives encrypted data from the given <code>InputStream</code>, decrypts it, and sends the resulting decrypted data
to the given <code>OutputStream</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#decrypt-byte:A-byte:A-">decrypt(byte[], byte[])</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#decrypt-java.io.InputStream-java.io.OutputStream-byte:A-">decrypt(InputStream, OutputStream, byte[])</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto"><span class="typeNameLink">DefaultBlockCipherService</span></a> - Class in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">Base abstract class for block cipher algorithms.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#DefaultBlockCipherService-java.lang.String-">DefaultBlockCipherService(String)</a></span> - Constructor for class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Creates a new <a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto"><code>DefaultBlockCipherService</code></a> using the specified block cipher <code>algorithmName</code>.</div>
</dd>
</dl>
<a name="I:E">
<!-- -->
</a>
<h2 class="title">E</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/CipherService.html#encrypt-byte:A-byte:A-">encrypt(byte[], byte[])</a></span> - Method in interface org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto">CipherService</a></dt>
<dd>
<div class="block">Encrypts data via the specified cipher key.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/CipherService.html#encrypt-java.io.InputStream-java.io.OutputStream-byte:A-">encrypt(InputStream, OutputStream, byte[])</a></span> - Method in interface org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/CipherService.html" title="interface in org.apache.shiro.crypto">CipherService</a></dt>
<dd>
<div class="block">Receives the data from the given <code>InputStream</code>, encrypts it, and sends the resulting encrypted data to the
given <code>OutputStream</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#encrypt-byte:A-byte:A-">encrypt(byte[], byte[])</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#encrypt-java.io.InputStream-java.io.OutputStream-byte:A-">encrypt(InputStream, OutputStream, byte[])</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#ensureSecureRandom--">ensureSecureRandom()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:G">
<!-- -->
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#generateInitializationVector-boolean-">generateInitializationVector(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#generateInitializationVector-boolean-">generateInitializationVector(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html#generateNewKey--">generateNewKey()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html" title="class in org.apache.shiro.crypto">AbstractSymmetricCipherService</a></dt>
<dd>
<div class="block">Generates a new <a href="https://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security"><code>Key</code></a> suitable for this CipherService's <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithm</code></a>
by calling <a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html#generateNewKey-int-"><code>generateNewKey(128)</code></a> (uses a 128 bit size by default).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html#generateNewKey-int-">generateNewKey(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/AbstractSymmetricCipherService.html" title="class in org.apache.shiro.crypto">AbstractSymmetricCipherService</a></dt>
<dd>
<div class="block">Generates a new <a href="https://docs.oracle.com/javase/6/docs/api/java/security/Key.html?is-external=true" title="class or interface in java.security"><code>Key</code></a> of the specified size suitable for this CipherService
(based on the <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithmName</code></a> using the JDK <a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/KeyGenerator.html?is-external=true" title="class or interface in javax.crypto"><code>KeyGenerator</code></a>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--">getAlgorithmName()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns the cipher algorithm name that will be used for all encryption, decryption, and key operations (for
example, 'AES', 'Blowfish', 'RSA', 'DSA', 'TripleDES', etc).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getBlockSize--">getBlockSize()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Returns the block cipher's block size to be used when constructing
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string or <code>0</code> if the JCA Provider default block size
for the specified <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithm</code></a> should be used.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getDefaultSecureRandom--">getDefaultSecureRandom()</a></span> - Static method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getInitializationVectorSize--">getInitializationVectorSize()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns the algorithm-specific size in bits of generated initialization vectors.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getKeySize--">getKeySize()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns the size in bits (not bytes) of generated cipher keys.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getModeName--">getModeName()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Returns the cipher operation mode name (as a String) to be used when constructing
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string or <code>null</code> if the JCA Provider default mode for
the specified <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithm</code></a> should be used.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getPaddingSchemeName--">getPaddingSchemeName()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Returns the cipher algorithm padding scheme name (as a String) to be used when constructing
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string or <code>null</code> if the JCA Provider default mode for
the specified <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithm</code></a> should be used.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getSecureRandom--">getSecureRandom()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns a source of randomness for encryption operations.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getStreamingBlockSize--">getStreamingBlockSize()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getStreamingBufferSize--">getStreamingBufferSize()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns the size in bytes of the internal buffer used to transfer data from one stream to another during stream
operations (<a href="org/apache/shiro/crypto/JcaCipherService.html#encrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a> and
<a href="org/apache/shiro/crypto/JcaCipherService.html#decrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a>).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getStreamingModeName--">getStreamingModeName()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Same purpose as the <a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getModeName--"><code>modeName</code></a> attribute, but is used instead only for for streaming
operations (<a href="org/apache/shiro/crypto/JcaCipherService.html#encrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a> and
<a href="org/apache/shiro/crypto/JcaCipherService.html#decrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a>).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getStreamingPaddingSchemeName--">getStreamingPaddingSchemeName()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/PaddingScheme.html#getTransformationName--">getTransformationName()</a></span> - Method in enum org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/PaddingScheme.html" title="enum in org.apache.shiro.crypto">PaddingScheme</a></dt>
<dd>
<div class="block">Returns the actual string name to use when building the <a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a>
<code>transformation string</code>.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#getTransformationString-boolean-">getTransformationString(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Returns the transformation string to use with the <a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true#getInstance-java.lang.String-" title="class or interface in javax.crypto"><code>Cipher.getInstance(java.lang.String)</code></a> call.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#getTransformationString-boolean-">getTransformationString(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Returns the transformation string to use with the <a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true#getInstance-java.lang.String-" title="class or interface in javax.crypto"><code>Cipher.getInstance(java.lang.String)</code></a> invocation when
creating a new <code>Cipher</code> instance.</div>
</dd>
</dl>
<a name="I:I">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#isGenerateInitializationVectors-boolean-">isGenerateInitializationVectors(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Overrides the parent implementation to ensure initialization vectors are always generated if streaming is
enabled (block ciphers <em>must</em> use initialization vectors if they are to be used as a stream cipher).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#isGenerateInitializationVectors--">isGenerateInitializationVectors()</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#isGenerateInitializationVectors-boolean-">isGenerateInitializationVectors(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:J">
<!-- -->
</a>
<h2 class="title">J</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto"><span class="typeNameLink">JcaCipherService</span></a> - Class in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">Abstract <code>CipherService</code> implementation utilizing Java's JCA APIs.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#JcaCipherService-java.lang.String-">JcaCipherService(String)</a></span> - Constructor for class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Creates a new <code>JcaCipherService</code> instance which will use the specified cipher <code>algorithmName</code>
for all encryption, decryption, and key operations.</div>
</dd>
</dl>
<a name="I:O">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/OperationMode.html" title="enum in org.apache.shiro.crypto"><span class="typeNameLink">OperationMode</span></a> - Enum in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">A cipher <a href="http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation">mode of operation</a>
directs a cipher algorithm how to convert data during the encryption or decryption process.</div>
</dd>
<dt><a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a> - package org.apache.shiro.crypto</dt>
<dd>
<div class="block">Cryptography Cipher and Hashing components that greatly simplify the JDK's cryptography concepts and
add additional convenient behavior.</div>
</dd>
</dl>
<a name="I:P">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><a href="org/apache/shiro/crypto/PaddingScheme.html" title="enum in org.apache.shiro.crypto"><span class="typeNameLink">PaddingScheme</span></a> - Enum in <a href="org/apache/shiro/crypto/package-summary.html">org.apache.shiro.crypto</a></dt>
<dd>
<div class="block">A <code>CipherPaddingScheme</code> represents well-known
<a href="http://en.wikipedia.org/wiki/Padding_(cryptography)">padding schemes</a> supported by JPA providers in a
type-safe manner.</div>
</dd>
</dl>
<a name="I:S">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setBlockSize-int-">setBlockSize(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the block cipher's block size to be used when constructing
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#setGenerateInitializationVectors-boolean-">setGenerateInitializationVectors(boolean)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#setInitializationVectorSize-int-">setInitializationVectorSize(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Sets the algorithm-specific initialization vector size in bits (not bytes!)</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#setKeySize-int-">setKeySize(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Sets the size in bits (not bytes) of generated cipher keys.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setMode-org.apache.shiro.crypto.OperationMode-">setMode(OperationMode)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the cipher operation mode of operation to be used when constructing the
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setModeName-java.lang.String-">setModeName(String)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the cipher operation mode name to be used when constructing the
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setPaddingScheme-org.apache.shiro.crypto.PaddingScheme-">setPaddingScheme(PaddingScheme)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the padding scheme to be used when constructing the
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setPaddingSchemeName-java.lang.String-">setPaddingSchemeName(String)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the padding scheme name to be used when constructing the
<a href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Cipher.html?is-external=true" title="class or interface in javax.crypto"><code>Cipher</code></a> transformation string, or <code>null</code> if the JCA Provider default mode for
the specified <a href="org/apache/shiro/crypto/JcaCipherService.html#getAlgorithmName--"><code>algorithm</code></a> should be used.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#setSecureRandom-java.security.SecureRandom-">setSecureRandom(SecureRandom)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Sets a source of randomness for encryption operations.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setStreamingBlockSize-int-">setStreamingBlockSize(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/JcaCipherService.html#setStreamingBufferSize-int-">setStreamingBufferSize(int)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/JcaCipherService.html" title="class in org.apache.shiro.crypto">JcaCipherService</a></dt>
<dd>
<div class="block">Sets the size in bytes of the internal buffer used to transfer data from one stream to another during stream
operations (<a href="org/apache/shiro/crypto/JcaCipherService.html#encrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a> and
<a href="org/apache/shiro/crypto/JcaCipherService.html#decrypt-java.io.InputStream-java.io.OutputStream-byte:A-"><code>JcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])</code></a>).</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setStreamingMode-org.apache.shiro.crypto.OperationMode-">setStreamingMode(OperationMode)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the transformation string mode to be used for streaming operations only.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setStreamingModeName-java.lang.String-">setStreamingModeName(String)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>
<div class="block">Sets the transformation string mode name to be used for streaming operations only.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setStreamingPaddingScheme-org.apache.shiro.crypto.PaddingScheme-">setStreamingPaddingScheme(PaddingScheme)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/DefaultBlockCipherService.html#setStreamingPaddingSchemeName-java.lang.String-">setStreamingPaddingSchemeName(String)</a></span> - Method in class org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/DefaultBlockCipherService.html" title="class in org.apache.shiro.crypto">DefaultBlockCipherService</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="I:V">
<!-- -->
</a>
<h2 class="title">V</h2>
<dl>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/OperationMode.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/OperationMode.html" title="enum in org.apache.shiro.crypto">OperationMode</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/PaddingScheme.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/PaddingScheme.html" title="enum in org.apache.shiro.crypto">PaddingScheme</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/OperationMode.html#values--">values()</a></span> - Static method in enum org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/OperationMode.html" title="enum in org.apache.shiro.crypto">OperationMode</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/shiro/crypto/PaddingScheme.html#values--">values()</a></span> - Static method in enum org.apache.shiro.crypto.<a href="org/apache/shiro/crypto/PaddingScheme.html" title="enum in org.apache.shiro.crypto">PaddingScheme</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
</dl>
<a href="#I:A">A</a>&nbsp;<a href="#I:B">B</a>&nbsp;<a href="#I:C">C</a>&nbsp;<a href="#I:D">D</a>&nbsp;<a href="#I:E">E</a>&nbsp;<a href="#I:G">G</a>&nbsp;<a href="#I:I">I</a>&nbsp;<a href="#I:J">J</a>&nbsp;<a href="#I:O">O</a>&nbsp;<a href="#I:P">P</a>&nbsp;<a href="#I:S">S</a>&nbsp;<a href="#I:V">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<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/shiro/crypto/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="org/apache/shiro/crypto/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?index-all.html" target="_top">Frames</a></li>
<li><a href="index-all.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>