packages feed

x509 1.6.2 → 1.6.3

raw patch · 2 files changed

+6/−6 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.X509: [certExtensions] :: Certificate -> Extensions
- Data.X509: [certIssuerDN] :: Certificate -> DistinguishedName
- Data.X509: [certPubKey] :: Certificate -> PubKey
- Data.X509: [certSerial] :: Certificate -> Integer
- Data.X509: [certSignatureAlg] :: Certificate -> SignatureALG
- Data.X509: [certSubjectDN] :: Certificate -> DistinguishedName
- Data.X509: [certValidity] :: Certificate -> (DateTime, DateTime)
- Data.X509: [certVersion] :: Certificate -> Int
- Data.X509: [characterEncoding] :: ASN1CharacterString -> ASN1StringEncoding
- Data.X509: [crlExtensions] :: CRL -> Extensions
- Data.X509: [crlIssuer] :: CRL -> DistinguishedName
- Data.X509: [crlNextUpdate] :: CRL -> Maybe DateTime
- Data.X509: [crlRevokedCertificates] :: CRL -> [RevokedCertificate]
- Data.X509: [crlSignatureAlg] :: CRL -> SignatureALG
- Data.X509: [crlThisUpdate] :: CRL -> DateTime
- Data.X509: [crlVersion] :: CRL -> Integer
- Data.X509: [extRawASN1] :: ExtensionRaw -> [ASN1]
- Data.X509: [extRawCritical] :: ExtensionRaw -> Bool
- Data.X509: [extRawOID] :: ExtensionRaw -> OID
- Data.X509: [getCharacterStringRawData] :: ASN1CharacterString -> ByteString
- Data.X509: [getDistinguishedElements] :: DistinguishedName -> [(OID, ASN1CharacterString)]
- Data.X509: [pubkeyEC_a] :: PubKeyEC -> Integer
- Data.X509: [pubkeyEC_b] :: PubKeyEC -> Integer
- Data.X509: [pubkeyEC_cofactor] :: PubKeyEC -> Integer
- Data.X509: [pubkeyEC_generator] :: PubKeyEC -> SerializedPoint
- Data.X509: [pubkeyEC_name] :: PubKeyEC -> CurveName
- Data.X509: [pubkeyEC_order] :: PubKeyEC -> Integer
- Data.X509: [pubkeyEC_prime] :: PubKeyEC -> Integer
- Data.X509: [pubkeyEC_pub] :: PubKeyEC -> SerializedPoint
- Data.X509: [pubkeyEC_seed] :: PubKeyEC -> Integer
- Data.X509: [revokedDate] :: RevokedCertificate -> DateTime
- Data.X509: [revokedExtensions] :: RevokedCertificate -> Extensions
- Data.X509: [revokedSerialNumber] :: RevokedCertificate -> Integer
- Data.X509: [signedAlg] :: Signed a -> SignatureALG
- Data.X509: [signedObject] :: Signed a -> a
- Data.X509: [signedSignature] :: Signed a -> ByteString
+ Data.X509: certExtensions :: Certificate -> Extensions
+ Data.X509: certIssuerDN :: Certificate -> DistinguishedName
+ Data.X509: certPubKey :: Certificate -> PubKey
+ Data.X509: certSerial :: Certificate -> Integer
+ Data.X509: certSignatureAlg :: Certificate -> SignatureALG
+ Data.X509: certSubjectDN :: Certificate -> DistinguishedName
+ Data.X509: certValidity :: Certificate -> (DateTime, DateTime)
+ Data.X509: certVersion :: Certificate -> Int
+ Data.X509: characterEncoding :: ASN1CharacterString -> ASN1StringEncoding
+ Data.X509: crlExtensions :: CRL -> Extensions
+ Data.X509: crlIssuer :: CRL -> DistinguishedName
+ Data.X509: crlNextUpdate :: CRL -> Maybe DateTime
+ Data.X509: crlRevokedCertificates :: CRL -> [RevokedCertificate]
+ Data.X509: crlSignatureAlg :: CRL -> SignatureALG
+ Data.X509: crlThisUpdate :: CRL -> DateTime
+ Data.X509: crlVersion :: CRL -> Integer
+ Data.X509: extRawASN1 :: ExtensionRaw -> [ASN1]
+ Data.X509: extRawCritical :: ExtensionRaw -> Bool
+ Data.X509: extRawOID :: ExtensionRaw -> OID
+ Data.X509: getCharacterStringRawData :: ASN1CharacterString -> ByteString
+ Data.X509: getDistinguishedElements :: DistinguishedName -> [(OID, ASN1CharacterString)]
+ Data.X509: pubkeyEC_a :: PubKeyEC -> Integer
+ Data.X509: pubkeyEC_b :: PubKeyEC -> Integer
+ Data.X509: pubkeyEC_cofactor :: PubKeyEC -> Integer
+ Data.X509: pubkeyEC_generator :: PubKeyEC -> SerializedPoint
+ Data.X509: pubkeyEC_name :: PubKeyEC -> CurveName
+ Data.X509: pubkeyEC_order :: PubKeyEC -> Integer
+ Data.X509: pubkeyEC_prime :: PubKeyEC -> Integer
+ Data.X509: pubkeyEC_pub :: PubKeyEC -> SerializedPoint
+ Data.X509: pubkeyEC_seed :: PubKeyEC -> Integer
+ Data.X509: revokedDate :: RevokedCertificate -> DateTime
+ Data.X509: revokedExtensions :: RevokedCertificate -> Extensions
+ Data.X509: revokedSerialNumber :: RevokedCertificate -> Integer
+ Data.X509: signedAlg :: Signed a -> SignatureALG
+ Data.X509: signedObject :: Signed a -> a
+ Data.X509: signedSignature :: Signed a -> ByteString

Files

Tests/Tests.hs view
@@ -44,7 +44,7 @@     arbitrary = elements [HashMD2,HashMD5,HashSHA1,HashSHA224,HashSHA256,HashSHA384,HashSHA512]  instance Arbitrary PubKeyALG where-    arbitrary = elements [PubKeyALG_RSA,PubKeyALG_DSA,PubKeyALG_ECDSA,PubKeyALG_DH]+    arbitrary = elements [PubKeyALG_RSA,PubKeyALG_DSA,PubKeyALG_EC,PubKeyALG_DH]  instance Arbitrary SignatureALG where     -- unfortunately as the encoding of this is a single OID as opposed to two OID,@@ -59,10 +59,10 @@         , SignatureALG HashSHA512 PubKeyALG_RSA         , SignatureALG HashSHA224 PubKeyALG_RSA         , SignatureALG HashSHA1 PubKeyALG_DSA-        , SignatureALG HashSHA224 PubKeyALG_ECDSA-        , SignatureALG HashSHA256 PubKeyALG_ECDSA-        , SignatureALG HashSHA384 PubKeyALG_ECDSA-        , SignatureALG HashSHA512 PubKeyALG_ECDSA+        , SignatureALG HashSHA224 PubKeyALG_EC+        , SignatureALG HashSHA256 PubKeyALG_EC+        , SignatureALG HashSHA384 PubKeyALG_EC+        , SignatureALG HashSHA512 PubKeyALG_EC         ]  arbitraryBS r1 r2 = choose (r1,r2) >>= \l -> (B.pack <$> replicateM l arbitrary)
x509.cabal view
@@ -1,5 +1,5 @@ Name:                x509-Version:             1.6.2+Version:             1.6.3 Description:         X509 reader and writer License:             BSD3 License-file:        LICENSE