Beryl::Certificates::GeneralName
One GeneralName (RFC 5280 §4.2.1.6), as subject alternative names and name constraints carry them.
Constructors
read(reader : Encoding::DER::Reader) : GeneralName
Reads one GeneralName. IA5String values must be ASCII (X.680 §41).
Class methods
Instance methods
directory_name
Sourcekind
Sourcevalue
The contents: the IA5String bytes for the three text kinds, the address bytes for an IP address (4 or 16 bytes in a subject alternative name, 8 or 32 with the mask in a name constraint), the encoded Name for a directory name, the raw contents otherwise.