Skip to content

0.x API

certifikit / app.cash.certifikit

Package app.cash.certifikit

Types

Name Summary
AccessDescription data class AccessDescription
AlgorithmIdentifier data class AlgorithmIdentifier
AnyValue A value whose type is not specified statically. Use this with Adapters.any which will attempt to resolve a concrete type.data class AnyValue
AttributeTypeAndValue data class AttributeTypeAndValue
BasicConstraints data class BasicConstraints
BasicDerAdapter Handles basic types that always use the same tag. This supports optional types and may set a type hint for further adapters to process.data class BasicDerAdapter<T> : DerAdapter<T>
BitString Like a ByteString, but whose bits are not necessarily a strict multiple of 8.data class BitString
Certificate data class Certificate
CertificateAdapters ASN.1 adapters adapted from the specifications in RFC 5280.object CertificateAdapters
Certifikit object Certifikit
DerHeader The first two bytes of each value is a header that includes its tag (field ID) and length.data class DerHeader
DerReader Streaming decoder of data encoded following Abstract Syntax Notation One (ASN.1). There are multiple variants of ASN.1, including:class DerReader
DerWriter class DerWriter
Extension data class Extension
ExtKeyUsage data class ExtKeyUsage
KeyUsage enum class KeyUsage
ObjectIdentifiers ASN.1 object identifiers used internally by this implementation.object ObjectIdentifiers
PrivateKeyInfo A private key. Note that this class doesn’t support attributes or an embedded public key.data class PrivateKeyInfo
SubjectPublicKeyInfo data class SubjectPublicKeyInfo
TbsCertificate data class TbsCertificate
Validity data class Validity

Functions

Name Summary
decodeKeyUsage funBitString.decodeKeyUsage():List<KeyUsage>