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)][data(string)]...
Where each Certificate Option is encoded as a name (string) and data (string). The entire name + data strings are added as bytes (which will get a length prefix).
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCertificateOption
(String name) Creates a newOpenSshCertificate.CertificateOption
with a name without data.CertificateOption
(String name, String data) Creates a newOpenSshCertificate.CertificateOption
with the given name and data. -
Method Summary
-
Field Details
-
name
-
data
-
-
Constructor Details
-
CertificateOption
Creates a newOpenSshCertificate.CertificateOption
with the given name and data.- Parameters:
name
- of the option; must be neithernull
nor emptydata
- for the option; may benull
or empty
-
CertificateOption
Creates a newOpenSshCertificate.CertificateOption
with a name without data.- Parameters:
name
- of the option; must be neithernull
nor empty
-
-
Method Details