Portability | unknown |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | None |
extension processing module.
- type ExtensionRaw = (OID, Bool, [ASN1])
- class Extension a where
- data ExtBasicConstraints = ExtBasicConstraints Bool (Maybe Integer)
- data ExtKeyUsage = ExtKeyUsage [ExtKeyUsageFlag]
- data ExtKeyUsageFlag
- data ExtSubjectKeyId = ExtSubjectKeyId ByteString
- data ExtSubjectAltName = ExtSubjectAltName [String]
- data ExtAuthorityKeyId = ExtAuthorityKeyId ByteString
- extensionGet :: Extension a => [ExtensionRaw] -> Maybe a
Documentation
type ExtensionRaw = (OID, Bool, [ASN1])Source
Common extension usually found in x509v3
data ExtKeyUsage Source
data ExtKeyUsageFlag Source
key usage flag that is found in the key usage extension field.
data ExtSubjectKeyId Source
data ExtSubjectAltName Source
data ExtAuthorityKeyId Source
Accessor turning extension into a specific one
extensionGet :: Extension a => [ExtensionRaw] -> Maybe aSource