enum

Beryl::Certificates::Purpose

Inherits Enum < Comparable < Value < Object

What the leaf certificate is to be used for: the extended key usage a chain must allow (RFC 5280 ยง4.2.1.12).

Constants

ServerAuthentication = 0

A TLS server (id-kp-serverAuth).

ClientAuthentication = 1

A TLS client (id-kp-clientAuth).

Instance methods

client_authentication?

Returns true if this enum value equals ClientAuthentication

Source
object_identifier
Source
server_authentication?

Returns true if this enum value equals ServerAuthentication

Source