| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_66) on Fri Jan 15 14:33:42 CET 2016 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>RSAPublicKeyDecoder (Apache Mina SSHD :: Core 1.1.0 API)</title> |
| <meta name="date" content="2016-01-15"> |
| <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="RSAPublicKeyDecoder (Apache Mina SSHD :: Core 1.1.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; |
| var tabs = {65535:["t0","All 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 ======= --> |
| <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="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RSAPublicKeyDecoder.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/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html" target="_top">Frames</a></li> |
| <li><a href="RSAPublicKeyDecoder.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) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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 ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.sshd.common.config.keys</div> |
| <h2 title="Class RSAPublicKeyDecoder" class="title">Class RSAPublicKeyDecoder</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://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><a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html" title="class in org.apache.sshd.common.config.keys">org.apache.sshd.common.config.keys.AbstractPublicKeyEntryDecoder</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a>></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.sshd.common.config.keys.RSAPublicKeyDecoder</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryDecoder.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryDecoder</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a>>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">RSAPublicKeyDecoder</span> |
| extends <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html" title="class in org.apache.sshd.common.config.keys">AbstractPublicKeyEntryDecoder</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a>></pre> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html" title="class in org.apache.sshd.common.config.keys">RSAPublicKeyDecoder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#INSTANCE">INSTANCE</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.config.keys.PublicKeyEntryResolver"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.sshd.common.config.keys.<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a></h3> |
| <code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html#FAILING">FAILING</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html#IGNORING">IGNORING</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <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/sshd/common/config/keys/RSAPublicKeyDecoder.html#RSAPublicKeyDecoder--">RSAPublicKeyDecoder</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <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="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="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#clonePrivateKey-java.security.interfaces.RSAPrivateKey-">clonePrivateKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a> key)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#clonePublicKey-java.security.interfaces.RSAPublicKey-">clonePublicKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> key)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#decodePublicKey-java.lang.String-java.io.InputStream-">decodePublicKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> keyType, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> keyData)</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#encodePublicKey-java.io.OutputStream-java.security.interfaces.RSAPublicKey-">encodePublicKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> s, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> key)</code> |
| <div class="block">Encodes the <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security"><code>PublicKey</code></a> using the <code>OpenSSH</code> format - same |
| one used by the <code>decodePublicKey</code> method(s)</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyFactory.html?is-external=true" title="class or interface in java.security">KeyFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#getKeyFactoryInstance--">getKeyFactoryInstance</a></span>()</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPairGenerator.html?is-external=true" title="class or interface in java.security">KeyPairGenerator</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html#getKeyPairGenerator--">getKeyPairGenerator</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.config.keys.AbstractPublicKeyEntryDecoder"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.sshd.common.config.keys.<a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html" title="class in org.apache.sshd.common.config.keys">AbstractPublicKeyEntryDecoder</a></h3> |
| <code><a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#cloneKeyPair-java.security.KeyPair-">cloneKeyPair</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodeBigInt-java.io.InputStream-">decodeBigInt</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodeInt-java.io.InputStream-">decodeInt</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodePublicKey-byte...-">decodePublicKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodePublicKey-byte:A-int-int-">decodePublicKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodePublicKey-java.io.InputStream-">decodePublicKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodeString-java.io.InputStream-">decodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodeString-java.io.InputStream-java.nio.charset.Charset-">decodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodeString-java.io.InputStream-java.lang.String-">decodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#encodeBigInt-java.io.OutputStream-java.math.BigInteger-">encodeBigInt</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#encodeInt-java.io.OutputStream-int-">encodeInt</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#encodeString-java.io.OutputStream-java.lang.String-">encodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#encodeString-java.io.OutputStream-java.lang.String-java.nio.charset.Charset-">encodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#encodeString-java.io.OutputStream-java.lang.String-java.lang.String-">encodeString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#generateKeyPair-int-">generateKeyPair</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#generatePrivateKey-java.security.spec.KeySpec-">generatePrivateKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#generatePublicKey-java.security.spec.KeySpec-">generatePublicKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#getPrivateKeyType--">getPrivateKeyType</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#getPublicKeyType--">getPublicKeyType</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#getSupportedTypeNames--">getSupportedTypeNames</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#readRLEBytes-java.io.InputStream-">readRLEBytes</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#resolve-java.lang.String-byte:A-">resolve</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#toString--">toString</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#writeRLEBytes-java.io.OutputStream-byte...-">writeRLEBytes</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#writeRLEBytes-java.io.OutputStream-byte:A-int-int-">writeRLEBytes</a></code></li> |
| </ul> |
| <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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://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="http://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="http://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"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="INSTANCE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>INSTANCE</h4> |
| <pre>public static final <a href="../../../../../../org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html" title="class in org.apache.sshd.common.config.keys">RSAPublicKeyDecoder</a> INSTANCE</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="RSAPublicKeyDecoder--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RSAPublicKeyDecoder</h4> |
| <pre>public RSAPublicKeyDecoder()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="decodePublicKey-java.lang.String-java.io.InputStream-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodePublicKey</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> decodePublicKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> keyType, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> keyData) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html#decodePublicKey-java.lang.String-java.io.InputStream-">decodePublicKey</a></code> in class <code><a href="../../../../../../org/apache/sshd/common/config/keys/AbstractPublicKeyEntryDecoder.html" title="class in org.apache.sshd.common.config.keys">AbstractPublicKeyEntryDecoder</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keyType</code> - The reported / encode key type</dd> |
| <dd><code>keyData</code> - The key data bytes stream positioned after the key type decoding |
| and making sure it is one of the supported types</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The decoded <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security"><code>PublicKey</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to read from the data stream</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - If failed to generate the key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="encodePublicKey-java.io.OutputStream-java.security.interfaces.RSAPublicKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>encodePublicKey</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encodePublicKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> s, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> key) |
| throws <a href="http://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/sshd/common/config/keys/PublicKeyEntryDecoder.html#encodePublicKey-java.io.OutputStream-PUB-">PublicKeyEntryDecoder</a></code></span></div> |
| <div class="block">Encodes the <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security"><code>PublicKey</code></a> using the <code>OpenSSH</code> format - same |
| one used by the <code>decodePublicKey</code> method(s)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>s</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> to write the data to</dd> |
| <dd><code>key</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security"><code>PublicKey</code></a> - may not be <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The key type value - one of the <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryDecoder.html#getSupportedTypeNames--"><code>PublicKeyEntryDecoder.getSupportedTypeNames()</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to generate the encoding</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clonePublicKey-java.security.interfaces.RSAPublicKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clonePublicKey</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> clonePublicKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPublicKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPublicKey</a> key) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security"><code>PublicKey</code></a> to clone - ignored if <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The cloned key (or <code>null</code> if no original key)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - If failed to clone the key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clonePrivateKey-java.security.interfaces.RSAPrivateKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clonePrivateKey</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a> clonePrivateKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/RSAPrivateKey.html?is-external=true" title="class or interface in java.security.interfaces">RSAPrivateKey</a> key) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/PrivateKey.html?is-external=true" title="class or interface in java.security"><code>PrivateKey</code></a> to clone - ignored if <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The cloned key (or <code>null</code> if no original key)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - If failed to clone the key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKeyPairGenerator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKeyPairGenerator</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPairGenerator.html?is-external=true" title="class or interface in java.security">KeyPairGenerator</a> getKeyPairGenerator() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPairGenerator.html?is-external=true" title="class or interface in java.security"><code>KeyPairGenerator</code></a> suitable for this decoder</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - If failed to create the generator</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKeyFactoryInstance--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getKeyFactoryInstance</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyFactory.html?is-external=true" title="class or interface in java.security">KeyFactory</a> getKeyFactoryInstance() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyFactory.html?is-external=true" title="class or interface in java.security"><code>KeyFactory</code></a> suitable for the specific decoder type</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/GeneralSecurityException.html?is-external=true" title="class or interface in java.security">GeneralSecurityException</a></code> - If failed to create one</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= 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="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RSAPublicKeyDecoder.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/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/sshd/common/config/keys/RSAPublicKeyDecoder.html" target="_top">Frames</a></li> |
| <li><a href="RSAPublicKeyDecoder.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) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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 ======= --> |
| <p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |