Module org.elasticsearch.security
Class X509CertificateSignature
java.lang.Object
org.elasticsearch.xpack.security.transport.X509CertificateSignature
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionX509CertificateSignature(X509Certificate[] certificateChain, String algorithm, BytesReference signature) -
Method Summary
Modifier and TypeMethodDescriptionstatic X509CertificateSignaturestatic <T> Tdecode(String encoded, org.elasticsearch.core.CheckedFunction<StreamInput, T, IOException> body) static Stringstatic Stringencode(TransportVersion transportVersion, org.elasticsearch.core.CheckedConsumer<StreamOutput, IOException> body) booleaninthashCode()toString()voidwriteTo(StreamOutput out)
-
Constructor Details
-
X509CertificateSignature
public X509CertificateSignature(X509Certificate[] certificateChain, String algorithm, BytesReference signature) -
X509CertificateSignature
- Throws:
IOException
-
-
Method Details
-
certificates
-
algorithm
-
signature
-
equals
-
hashCode
public int hashCode() -
toString
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
encodeToString
- Throws:
IOException
-
decode
- Throws:
IOException
-
encode
- Throws:
IOException
-
encode
public static String encode(TransportVersion transportVersion, org.elasticsearch.core.CheckedConsumer<StreamOutput, IOException> body) throws IOException- Throws:
IOException
-
decode
public static <T> T decode(String encoded, org.elasticsearch.core.CheckedFunction<StreamInput, T, throws IOExceptionIOException> body) - Throws:
IOException
-