enum Agate::CertType

Overview

Type of host certificate.

Defined in:

agate/cert.cr

Enum Members

None = 0

No information about the certificate is available.

X509 = 1

X.509 certificate (DER-encoded data).

HostkeyLibssh2 = 2

SSH hostkey information (from libssh2).

StrArray = 3

String array with name:content pairs (from curl).

Instance Method Summary

Instance Method Detail

def hostkey_libssh2? #

Returns true if this enum value equals HostkeyLibssh2


[View source]
def none? #

Returns true if this enum value equals None


[View source]
def str_array? #

Returns true if this enum value equals StrArray


[View source]
def x509? #

Returns true if this enum value equals X509


[View source]