blob: 0333a1910e9135ad34e1236ec2d6f257f736041f [file] [log] [blame]
<!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:43 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AuthorizedKeyEntry (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="AuthorizedKeyEntry (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":10,"i3":9,"i4":10,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":10,"i17":10,"i18":10};
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 ======= -->
<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/AuthorizedKeyEntry.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>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeysAuthenticator.html" title="class in org.apache.sshd.server.config.keys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" target="_top">Frames</a></li>
<li><a href="AuthorizedKeyEntry.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.server.config.keys</div>
<h2 title="Class AuthorizedKeyEntry" class="title">Class AuthorizedKeyEntry</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/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">org.apache.sshd.common.config.keys.PublicKeyEntry</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sshd.server.config.keys.AuthorizedKeyEntry</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">AuthorizedKeyEntry</span>
extends <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">PublicKeyEntry</a></pre>
<div class="block">Represents an entry in the user's <code>authorized_keys</code> file according
to the <A HREF="http://en.wikibooks.org/wiki/OpenSSH/Client_Configuration_Files#.7E.2F.ssh.2Fauthorized_keys">OpenSSH format</A>.
<B>Note:</B> <code>equals/hashCode</code> check only the key type and data - the
comment and/or login options are not considered part of equality</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../serialized-form.html#org.apache.sshd.server.config.keys.AuthorizedKeyEntry">Serialized Form</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">&nbsp;</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="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/server/config/keys/AuthorizedKeyEntry.html#STD_AUTHORIZED_KEYS_FILENAME">STD_AUTHORIZED_KEYS_FILENAME</a></span></code>
<div class="block">Standard OpenSSH authorized keys file name</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.config.keys.PublicKeyEntry">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.config.keys.<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">PublicKeyEntry</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#COMMENT_CHAR">COMMENT_CHAR</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#STD_KEYFILE_FOLDER_NAME">STD_KEYFILE_FOLDER_NAME</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">&nbsp;</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/server/config/keys/AuthorizedKeyEntry.html#AuthorizedKeyEntry--">AuthorizedKeyEntry</a></span>()</code>&nbsp;</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#appendPublicKey-java.lang.Appendable-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-">appendPublicKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>&nbsp;sb,
<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#fromAuthorizedEntries-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-java.util.Collection-">fromAuthorizedEntries</a></span>(<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;entries)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<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/server/config/keys/AuthorizedKeyEntry.html#getComment--">getComment</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#getDefaultAuthorizedKeysFile--">getDefaultAuthorizedKeysFile</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#getLoginOptions--">getLoginOptions</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#parseAuthorizedKeyEntry-java.lang.String-">parseAuthorizedKeyEntry</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>&nbsp;line)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#parseLoginOptions-java.lang.String-">parseLoginOptions</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>&nbsp;options)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.BufferedReader-">readAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a>&nbsp;rdr)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.File-">readAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.InputStream-boolean-">readAuthorizedKeys</a></span>(<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>&nbsp;in,
boolean&nbsp;okToClose)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.nio.file.Path-java.nio.file.OpenOption...-">readAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file">OpenOption</a>...&nbsp;options)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.Reader-boolean-">readAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;rdr,
boolean&nbsp;okToClose)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.lang.String-">readAuthorizedKeys</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>&nbsp;filePath)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.net.URL-">readAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</code>
<div class="block">Reads read the contents of an <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readDefaultAuthorizedKeys-java.nio.file.OpenOption...-">readDefaultAuthorizedKeys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file">OpenOption</a>...&nbsp;options)</code>
<div class="block">Reads read the contents of the default OpenSSH <code>authorized_keys</code> file</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#resolveAuthorizedKeys-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-java.util.Collection-">resolveAuthorizedKeys</a></span>(<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;entries)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#setComment-java.lang.String-">setComment</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>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#setLoginOptions-java.util.Map-">setLoginOptions</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;&nbsp;value)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<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/server/config/keys/AuthorizedKeyEntry.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.config.keys.PublicKeyEntry">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.config.keys.<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">PublicKeyEntry</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#appendPublicKeyEntry-A-java.security.PublicKey-">appendPublicKeyEntry</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#getDefaultKeysFolderPath--">getDefaultKeysFolderPath</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#getKeyData--">getKeyData</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#getKeyType--">getKeyType</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#hashCode--">hashCode</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#isEquivalent-org.apache.sshd.common.config.keys.PublicKeyEntry-">isEquivalent</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#parsePublicKeyEntry-E-java.lang.String-">parsePublicKeyEntry</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#parsePublicKeyEntry-java.lang.String-">parsePublicKeyEntry</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#resolvePublicKey-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-">resolvePublicKey</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#setKeyData-byte:A-">setKeyData</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#setKeyType-java.lang.String-">setKeyType</a>, <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#toString-java.security.PublicKey-">toString</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&nbsp;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#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#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="STD_AUTHORIZED_KEYS_FILENAME">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>STD_AUTHORIZED_KEYS_FILENAME</h4>
<pre>public static final&nbsp;<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> STD_AUTHORIZED_KEYS_FILENAME</pre>
<div class="block">Standard OpenSSH authorized keys file name</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.sshd.server.config.keys.AuthorizedKeyEntry.STD_AUTHORIZED_KEYS_FILENAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AuthorizedKeyEntry--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AuthorizedKeyEntry</h4>
<pre>public&nbsp;AuthorizedKeyEntry()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getComment--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComment</h4>
<pre>public&nbsp;<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>&nbsp;getComment()</pre>
</li>
</ul>
<a name="setComment-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setComment</h4>
<pre>public&nbsp;void&nbsp;setComment(<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>&nbsp;value)</pre>
</li>
</ul>
<a name="getLoginOptions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoginOptions</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;&nbsp;getLoginOptions()</pre>
</li>
</ul>
<a name="setLoginOptions-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLoginOptions</h4>
<pre>public&nbsp;void&nbsp;setLoginOptions(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;&nbsp;value)</pre>
</li>
</ul>
<a name="appendPublicKey-java.lang.Appendable-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendPublicKey</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</a>&nbsp;appendPublicKey(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>&nbsp;sb,
<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver)
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">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#appendPublicKey-java.lang.Appendable-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-">appendPublicKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">PublicKeyEntry</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sb</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang"><code>Appendable</code></a> instance to encode the data into</dd>
<dd><code>fallbackResolver</code> - The <a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys"><code>PublicKeyEntryResolver</code></a> to consult if
none of the built-in ones can be used. If <code>null</code> and no built-in
resolver can be used then an <a href="http://docs.oracle.com/javase/7/docs/api/java/security/spec/InvalidKeySpecException.html?is-external=true" title="class or interface in java.security.spec"><code>InvalidKeySpecException</code></a> is thrown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>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> or <code>null</code> if could not resolve it</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 decode/encode the key</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>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#resolvePublicKey-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-"><code>PublicKeyEntry.resolvePublicKey(PublicKeyEntryResolver)</code></a></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<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>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html" title="class in org.apache.sshd.common.config.keys">PublicKeyEntry</a></code></dd>
</dl>
</li>
</ul>
<a name="fromAuthorizedEntries-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromAuthorizedEntries</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a>&nbsp;fromAuthorizedEntries(<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;entries)
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="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></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></dd>
</dl>
</li>
</ul>
<a name="resolveAuthorizedKeys-org.apache.sshd.common.config.keys.PublicKeyEntryResolver-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html?is-external=true" title="class or interface in java.security">PublicKey</a>&gt;&nbsp;resolveAuthorizedKeys(<a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntryResolver.html" title="interface in org.apache.sshd.common.config.keys">PublicKeyEntryResolver</a>&nbsp;fallbackResolver,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;entries)
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="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></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></dd>
</dl>
</li>
</ul>
<a name="getDefaultAuthorizedKeysFile--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultAuthorizedKeysFile</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;getDefaultAuthorizedKeysFile()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The default <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> location of the OpenSSH authorized keys file</dd>
</dl>
</li>
</ul>
<a name="readDefaultAuthorizedKeys-java.nio.file.OpenOption...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readDefaultAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readDefaultAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file">OpenOption</a>...&nbsp;options)
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">Reads read the contents of the default OpenSSH <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>options</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file"><code>OpenOption</code></a>s to use when reading the file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there -
or empty if file does not exist</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 keys from file</dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.net.URL-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a> to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.InputStream-boolean-"><code>readAuthorizedKeys(InputStream, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>file</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.InputStream-boolean-"><code>readAuthorizedKeys(InputStream, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.nio.file.Path-java.nio.file.OpenOption...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file">OpenOption</a>...&nbsp;options)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to read from</dd>
<dd><code>options</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/OpenOption.html?is-external=true" title="class or interface in java.nio.file"><code>OpenOption</code></a>s to use - if unspecified then appropriate
defaults assumed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.InputStream-boolean-"><code>readAuthorizedKeys(InputStream, boolean)</code></a>,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html?is-external=true#newInputStream-java.nio.file.Path-java.nio.file.OpenOption...-" title="class or interface in java.nio.file"><code>Files.newInputStream(Path, OpenOption...)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<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>&nbsp;filePath)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filePath</code> - The file path to read from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.InputStream-boolean-"><code>readAuthorizedKeys(InputStream, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.io.InputStream-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<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>&nbsp;in,
boolean&nbsp;okToClose)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a></dd>
<dd><code>okToClose</code> - <code>true</code> if method may close the input stream
regardless of whether successful or failed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.Reader-boolean-"><code>readAuthorizedKeys(Reader, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.io.Reader-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;rdr,
boolean&nbsp;okToClose)
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">Reads read the contents of an <code>authorized_keys</code> file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rdr</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a></dd>
<dd><code>okToClose</code> - <code>true</code> if method may close the input stream
regardless of whether successful or failed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#readAuthorizedKeys-java.io.BufferedReader-"><code>readAuthorizedKeys(BufferedReader)</code></a></dd>
</dl>
</li>
</ul>
<a name="readAuthorizedKeys-java.io.BufferedReader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAuthorizedKeys</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&gt;&nbsp;readAuthorizedKeys(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a>&nbsp;rdr)
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>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rdr</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a> to use to read the contents of
an <code>authorized_keys</code> file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of all the <a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a>-ies found there</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 or parse the entries</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html#parseAuthorizedKeyEntry-java.lang.String-"><code>parseAuthorizedKeyEntry(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="parseAuthorizedKeyEntry-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseAuthorizedKeyEntry</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys">AuthorizedKeyEntry</a>&nbsp;parseAuthorizedKeyEntry(<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>&nbsp;line)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>line</code> - Original line from an <code>authorized_keys</code> file</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" title="class in org.apache.sshd.server.config.keys"><code>AuthorizedKeyEntry</code></a> or <code>null</code> if the line is
<code>null</code>/empty or a comment line</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If failed to parse/decode the line</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/common/config/keys/PublicKeyEntry.html#COMMENT_CHAR"><code>PublicKeyEntry.COMMENT_CHAR</code></a></dd>
</dl>
</li>
</ul>
<a name="parseLoginOptions-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>parseLoginOptions</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<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>&gt;&nbsp;parseLoginOptions(<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>&nbsp;options)</pre>
</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/AuthorizedKeyEntry.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>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/apache/sshd/server/config/keys/AuthorizedKeysAuthenticator.html" title="class in org.apache.sshd.server.config.keys"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/server/config/keys/AuthorizedKeyEntry.html" target="_top">Frames</a></li>
<li><a href="AuthorizedKeyEntry.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2008&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>