X509Certificate
@Serializable
Very simple implementation of an X.509 Certificate
Constructors
Link copied to clipboard
constructor(tbsCertificate: TbsCertificate, signatureAlgorithm: X509SignatureAlgorithm, signature: CryptoSignature)
Properties
Functions
Link copied to clipboard
Convenience function to directly get the DER-encoded representation of the implementing object
Link copied to clipboard
Exception-free version of encodeToDer
Link copied to clipboard
Safe version of encodeToDer, wrapping the result into a KmmResult
Link copied to clipboard
Encodes the implementing object into an A
Link copied to clipboard
Exception-free version of encodeToTlv
Link copied to clipboard
Safe version of encodeToTlv, wrapping the result into a KmmResult
Link copied to clipboard
Converts this X509Certificate to a java.security.cert.X509Certificate. This function is suspending, because it uses a mutex to lock the underlying certificate factory (which is reused for performance reasons
Link copied to clipboard
blocking implementation of toJcaCertificate