Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/amberframework/beryl

    Types

    • Beryl
      • Certificates
        • AuthorityKeyIdentifier
        • BasicConstraints
        • Certificate
          • DER
        • CertificateRevocationList
          • DER
          • Entry
        • ChainVerification
          • Limits
        • DistinguishedName
          • Attribute
        • Error
        • Extension
        • FailureReason
        • GeneralName
          • Kind
        • KeyUsage
        • MalformedCertificate
        • NameConstraintCheck
          • BudgetExhausted
        • NameConstraints
        • ObjectIdentifiers
          • OID
        • PolicyConstraints
        • PrivateKeyFile
          • DER
        • PublicSuffixList
          • Rules
        • Purpose
        • ServiceIdentity
        • SignatureAlgorithm
          • HashFunction
          • Scheme
        • SigningKey
        • SubjectPublicKeyInfo
        • TrustStore
        • UnsupportedKey
        • VerificationFailed
        • VerificationKey
      • Crypto
        • Compatibility
          • AESCBC
          • AdvancedEncryptionStandardInCipherBlockChainingMode
          • MD5
          • MessageDigest5
          • PBKDF2
          • PasswordBasedKeyDerivationFunction2
          • SHA1
          • SecureHashAlgorithm1
        • DerivedKeySizeIsNegative
        • DerivedKeyTooLong
        • Error
        • FaultInPrivateKeyOperation
        • InvalidPrivateKey
        • InvalidPublicKey
        • IterationCountTooSmall
        • KeySizeMismatch
        • KeySizeNotSupported
        • KeyWiped
        • MalformedPrivateKey
        • MessageTooLong
        • MessageTooLongForModulus
        • NonceSizeMismatch
        • OutputSizeMismatch
        • PublicExponentNotSupported
        • SaltTooLongForModulus
        • TagSizeNotSupported
        • TruncatedTagTooShort
        • UnsupportedProcessor
        • V1
          • AEAD
          • AESGCM
          • AdvancedEncryptionStandardInGaloisCounterMode
          • AuthenticatedEncryption
          • AuthenticatedEncryptionWithChaCha20AndPoly1305
          • AuthenticatedEncryptionWithExtendedNonceChaCha20AndPoly1305
          • BlockHashFunction
          • ChaCha20Poly1305
          • DiffieHellmanOverCurve25519
            • PrivateKey
            • PublicKey
          • Ed25519
          • EdwardsCurveSignaturesOverCurve25519
            • SigningKey
            • VerificationKey
          • EllipticCurveP256
            • PrivateKey
            • PublicKey
          • EllipticCurveP384
            • PublicKey
          • HKDF
          • HMAC
          • HashBasedKeyDerivationFunction
          • HashBasedMessageAuthenticationCode
          • P256
          • P384
          • RSA
          • RivestShamirAdleman
            • PrivateKey
            • PublicKey
          • SHA224
          • SHA256
          • SHA384
          • SHA512
          • SHA512_256
          • SecureHashWith224BitDigest
          • SecureHashWith256BitDigest
          • SecureHashWith32BitWords
          • SecureHashWith384BitDigest
          • SecureHashWith512BitDigest
          • SecureHashWith512BitStateAnd256BitDigest
          • SecureHashWith64BitWords
          • SignatureFormat
          • X25519
          • XChaCha20Poly1305
      • Encoding
        • DER
        • DistinguishedEncodingRules
          • BitString
          • Element
          • Limits
          • ObjectIdentifier
          • Reader
          • Tag
          • TagClass
        • Error
        • LimitExceeded
        • MalformedEncoding
        • PEM
        • PrivacyEnhancedMail
          • Block
      • Error
      • TLS
        • AlertDescription
        • AlertLevel
        • CertificateRejected
        • CertificateVerifier
        • CertifiedKey
        • CipherSuite
        • ClientCertificateVerifier
        • ClientHandshake
          • ExtensionCodec
          • Offer
        • ClientVerifyMode
        • ConnectionClosed
        • ConnectionFailed
        • ContentType
        • Context
          • Client
          • Server
        • Error
        • ExtensionType
        • HandshakeOutcome
        • HandshakeRandomness
        • HandshakeTimeout
        • HandshakeType
        • HashAlgorithm
        • InsecureVerifier
        • KeyExchange
        • KeySchedule
        • KeyUpdateRequest
        • Limits
        • Messages
          • CertificateEntry
          • CertificateMessage
          • CertificateRequest
          • CertificateVerify
          • ClientHello
          • EncryptedExtensions
          • Extension
          • ExtensionCodec
            • KeyShareEntry
            • PskIdentity
          • Finished
          • HasExtensions
          • KeyUpdate
          • MessageReader
          • MessageWriter
          • NewSessionTicket
          • ServerHello
        • NamedGroup
        • PeerAlert
        • ProtocolVersion
        • PskKeyExchangeMode
        • RecordLayer
        • RecordProtection
        • SealedSessionState
        • Secp256r1Exchange
        • Server
        • ServerHandshake
          • ExtensionCodec
        • SessionCache
        • SessionTicket
        • SignatureScheme
        • Socket
          • Client
          • Server
        • TranscriptHash
        • UnauthenticatedAlert
        • VerifyMode
        • WebPkiVerifier
        • X25519Exchange
    module

    Beryl::TLS

    TLS 1.3 (RFC 9846) written in Crystal, on Beryl's own cryptography.

    Beryl offers TLS_AES_128_GCM_SHA256, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_256_GCM_SHA384, key exchange on x25519 and secp256r1, and never 0-RTT, renegotiation or compression (plan ยง2).

    Nested types

    • Beryl::TLS::AlertDescription
    • Beryl::TLS::AlertLevel
    • Beryl::TLS::CertificateRejected
    • Beryl::TLS::CertificateVerifier
    • Beryl::TLS::CertifiedKey
    • Beryl::TLS::CipherSuite
    • Beryl::TLS::ClientCertificateVerifier
    • Beryl::TLS::ClientHandshake
    • Beryl::TLS::ClientVerifyMode
    • Beryl::TLS::ConnectionClosed
    • Beryl::TLS::ConnectionFailed
    • Beryl::TLS::ContentType
    • Beryl::TLS::Context
    • Beryl::TLS::Error
    • Beryl::TLS::ExtensionType
    • Beryl::TLS::HandshakeOutcome
    • Beryl::TLS::HandshakeRandomness
    • Beryl::TLS::HandshakeTimeout
    • Beryl::TLS::HandshakeType
    • Beryl::TLS::HashAlgorithm
    • Beryl::TLS::InsecureVerifier
    • Beryl::TLS::KeyExchange
    • Beryl::TLS::KeySchedule
    • Beryl::TLS::KeyUpdateRequest
    • Beryl::TLS::Limits
    • Beryl::TLS::Messages
    • Beryl::TLS::NamedGroup
    • Beryl::TLS::PeerAlert
    • Beryl::TLS::ProtocolVersion
    • Beryl::TLS::PskKeyExchangeMode
    • Beryl::TLS::RecordLayer
    • Beryl::TLS::RecordProtection
    • Beryl::TLS::SealedSessionState
    • Beryl::TLS::Secp256r1Exchange
    • Beryl::TLS::Server
    • Beryl::TLS::ServerHandshake
    • Beryl::TLS::SessionCache
    • Beryl::TLS::SessionTicket
    • Beryl::TLS::SignatureScheme
    • Beryl::TLS::Socket
    • Beryl::TLS::TranscriptHash
    • Beryl::TLS::UnauthenticatedAlert
    • Beryl::TLS::VerifyMode
    • Beryl::TLS::WebPkiVerifier
    • Beryl::TLS::X25519Exchange

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal LanguageStatsSponsor

    The Bushido Collective builds and maintains this site.
    Licensed under the Apache License 2.0