public static class OpenSshCertificate.CertificateOption extends Object
[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).
| Constructor and Description |
|---|
CertificateOption(String name)
Creates a new
OpenSshCertificate.CertificateOption with a name without data. |
CertificateOption(String name,
String data)
Creates a new
OpenSshCertificate.CertificateOption with the given name and data. |
public CertificateOption(String name, String data)
OpenSshCertificate.CertificateOption with the given name and data.name - of the option; must be neither null nor emptydata - for the option; may be null or emptypublic CertificateOption(String name)
OpenSshCertificate.CertificateOption with a name without data.name - of the option; must be neither null nor emptyCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.