Class OpenSshCertificate.CertificateOption
java.lang.Object
org.apache.sshd.common.config.keys.OpenSshCertificate.CertificateOption
- Enclosing interface:
OpenSshCertificate
Certificate Options are a set of bytes that is
[overall length][name(string)][[length of buffer][[length of string][data(string)]]]...
Where each Certificate Option is encoded as a name (string) and data (string packed in a buffer). The entire name (string) + data (buffer) are added as bytes (which will get a length prefix).
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCertificateOption(String name) Creates a newOpenSshCertificate.CertificateOptionwith a name without data.CertificateOption(String name, String data) Creates a newOpenSshCertificate.CertificateOptionwith the given name and data. -
Method Summary
-
Field Details
-
name
-
data
-
-
Constructor Details
-
CertificateOption
Creates a newOpenSshCertificate.CertificateOptionwith the given name and data.- Parameters:
name- of the option; must be neithernullnor emptydata- for the option; may benullor empty
-
CertificateOption
Creates a newOpenSshCertificate.CertificateOptionwith a name without data.- Parameters:
name- of the option; must be neithernullnor empty
-
-
Method Details