Lines Matching defs:extDecode
140 extDecode [Start Sequence,Boolean b,End Sequence] = Right (ExtBasicConstraints b Nothing) function
141 extDecode [Start Sequence,End Sequence] = Right (ExtBasicConstraints False Nothing) function
142 extDecode _ = Left "unknown sequence" function
152 extDecode [BitString bits] = Right $ ExtKeyUsage $ bitsToFlags bits function
153 extDecode _ = Left "unknown sequence" function
187 …extDecode l = ExtExtendedKeyUsage `fmap` (flip runParseASN1 l $ onNextContainer Sequence $ getMany… function
201 extDecode [OctetString o] = Right $ ExtSubjectKeyId o function
202 extDecode _ = Left "unknown sequence" function
231 extDecode l = runParseASN1 (ExtSubjectAltName <$> parseGeneralNames) l function
245 extDecode _ = Left "unknown sequence" function
274 extDecode = error "extDecode ExtCrlDistributionPoints unimplemented" function
348 extDecode = error "Extension: Netscape Comment do not contain nested ASN1" function