| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SAML2.XML.Signature.Types
Description
XML Signature Syntax and Processing
http://www.w3.org/TR/xmldsig-core1/ (selected portions)
Synopsis
- nsFrag :: String -> URI
- nsFrag11 :: String -> URI
- ns :: Namespace
- ns11 :: Namespace
- xpElem :: String -> PU a -> PU a
- xpElem11 :: String -> PU a -> PU a
- type CryptoBinary = Integer
- xpCryptoBinary :: PU CryptoBinary
- data Signature = Signature {}
- class Signable a where
- data SignatureValue = SignatureValue {}
- data SignedInfo = SignedInfo {}
- data CanonicalizationMethod = CanonicalizationMethod {}
- simpleCanonicalization :: CanonicalizationAlgorithm -> CanonicalizationMethod
- data SignatureMethod = SignatureMethod {}
- data Reference = Reference {}
- newtype Transforms = Transforms {}
- data Transform = Transform {}
- simpleTransform :: TransformAlgorithm -> Transform
- data TransformElement
- data DigestMethod = DigestMethod {}
- simpleDigest :: DigestAlgorithm -> DigestMethod
- data KeyInfo = KeyInfo {}
- xpKeyInfoType :: PU KeyInfo
- data KeyInfoElement
- = KeyName XString
- | KeyInfoKeyValue KeyValue
- | RetrievalMethod { }
- | X509Data { }
- | PGPData { }
- | SPKIData { }
- | MgmtData XString
- | KeyInfoElement Node
- data KeyValue
- = DSAKeyValue { }
- | RSAKeyValue { }
- | ECKeyValue { }
- | KeyValue Node
- data ECKeyValue
- type ECPoint = CryptoBinary
- data ECFieldID
- = ECPrime {
- ecP :: CryptoBinary
- | ECTnB { }
- | ECPnB {
- ecM :: PositiveInteger
- ecK1, ecK2, ecK3 :: PositiveInteger
- | ECGnB { }
- | ECFieldID Node
- = ECPrime {
- data ECCurve = ECCurve {}
- data ECValidationData = ECValidationData {}
- type X509DistinguishedName = XString
- xpX509DistinguishedName :: PU X509DistinguishedName
- data X509Element
- data SPKIElement
- data Object = Object {}
- data ObjectElement
- data Manifest = Manifest {}
- data SignatureProperties = SignatureProperties {}
- data SignatureProperty = SignatureProperty {}
- data EncodingAlgorithm = EncodingBase64
- data DigestAlgorithm
- data MACAlgorithm = MACHMAC_SHA1
- data SignatureAlgorithm
- data TransformAlgorithm
Documentation
type CryptoBinary = Integer Source #
§4.1
§4.2
Constructors
| Signature | |
Fields | |
class Signable a where Source #
Instances
data SignatureValue Source #
§4.3
Constructors
| SignatureValue | |
Fields | |
Instances
| Eq SignatureValue Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: SignatureValue -> SignatureValue -> Bool # (/=) :: SignatureValue -> SignatureValue -> Bool # | |
| Show SignatureValue Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SignatureValue -> ShowS # show :: SignatureValue -> String # showList :: [SignatureValue] -> ShowS # | |
| XmlPickler SignatureValue Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU SignatureValue # | |
data SignedInfo Source #
§4.4
Constructors
| SignedInfo | |
Instances
| Eq SignedInfo Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show SignedInfo Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SignedInfo -> ShowS # show :: SignedInfo -> String # showList :: [SignedInfo] -> ShowS # | |
| XmlPickler SignedInfo Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU SignedInfo # | |
data CanonicalizationMethod Source #
§4.4.1
Constructors
| CanonicalizationMethod | |
Instances
| Eq CanonicalizationMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: CanonicalizationMethod -> CanonicalizationMethod -> Bool # (/=) :: CanonicalizationMethod -> CanonicalizationMethod -> Bool # | |
| Show CanonicalizationMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> CanonicalizationMethod -> ShowS # show :: CanonicalizationMethod -> String # showList :: [CanonicalizationMethod] -> ShowS # | |
| XmlPickler CanonicalizationMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
data SignatureMethod Source #
§4.4.2
Constructors
| SignatureMethod | |
Instances
| Eq SignatureMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: SignatureMethod -> SignatureMethod -> Bool # (/=) :: SignatureMethod -> SignatureMethod -> Bool # | |
| Show SignatureMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SignatureMethod -> ShowS # show :: SignatureMethod -> String # showList :: [SignatureMethod] -> ShowS # | |
| XmlPickler SignatureMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
§4.4.3
Constructors
| Reference | |
Fields
| |
newtype Transforms Source #
§4.4.3.4
Constructors
| Transforms | |
Fields | |
Instances
| Eq Transforms Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show Transforms Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> Transforms -> ShowS # show :: Transforms -> String # showList :: [Transforms] -> ShowS # | |
| XmlPickler Transforms Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU Transforms # | |
Constructors
| Transform | |
data TransformElement Source #
Constructors
| TransformElementXPath XString | |
| TransformElement Node |
Instances
| Eq TransformElement Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: TransformElement -> TransformElement -> Bool # (/=) :: TransformElement -> TransformElement -> Bool # | |
| Show TransformElement Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> TransformElement -> ShowS # show :: TransformElement -> String # showList :: [TransformElement] -> ShowS # | |
| XmlPickler TransformElement Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
data DigestMethod Source #
§4.4.3.5
Constructors
| DigestMethod | |
Fields | |
Instances
| Eq DigestMethod Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show DigestMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> DigestMethod -> ShowS # show :: DigestMethod -> String # showList :: [DigestMethod] -> ShowS # | |
| XmlPickler DigestMethod Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU DigestMethod # | |
§4.5
Constructors
| KeyInfo | |
Fields | |
data KeyInfoElement Source #
Constructors
| KeyName XString | §4.5.1 |
| KeyInfoKeyValue KeyValue | §4.5.2 |
| RetrievalMethod | §4.5.3 |
Fields | |
| X509Data | §4.5.4 |
Fields | |
| PGPData | §4.5.5 |
Fields | |
| SPKIData | §4.5.6 |
Fields | |
| MgmtData XString | §4.5.7 |
| KeyInfoElement Node | |
Instances
| Eq KeyInfoElement Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: KeyInfoElement -> KeyInfoElement -> Bool # (/=) :: KeyInfoElement -> KeyInfoElement -> Bool # | |
| Show KeyInfoElement Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> KeyInfoElement -> ShowS # show :: KeyInfoElement -> String # showList :: [KeyInfoElement] -> ShowS # | |
| XmlPickler KeyInfoElement Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU KeyInfoElement # | |
§4.5.2
Constructors
| DSAKeyValue | §4.5.2.1 |
| RSAKeyValue | §4.5.2.2 |
| ECKeyValue | §4.5.2.3 |
Fields | |
| KeyValue Node | |
data ECKeyValue Source #
Constructors
| ECParameters | §4.5.2.3.1 |
| ECNamedCurve | |
Fields | |
Instances
| Eq ECKeyValue Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show ECKeyValue Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> ECKeyValue -> ShowS # show :: ECKeyValue -> String # showList :: [ECKeyValue] -> ShowS # | |
| XmlPickler ECKeyValue Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU ECKeyValue # | |
type ECPoint = CryptoBinary Source #
Constructors
| ECPrime | |
Fields
| |
| ECTnB | |
Fields
| |
| ECPnB | |
Fields
| |
| ECGnB | |
Fields | |
| ECFieldID Node | |
Constructors
| ECCurve | |
Fields | |
data ECValidationData Source #
Constructors
| ECValidationData | |
Instances
| Eq ECValidationData Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: ECValidationData -> ECValidationData -> Bool # (/=) :: ECValidationData -> ECValidationData -> Bool # | |
| Show ECValidationData Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> ECValidationData -> ShowS # show :: ECValidationData -> String # showList :: [ECValidationData] -> ShowS # | |
| XmlPickler ECValidationData Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
type X509DistinguishedName = XString Source #
§4.5.4.1
data X509Element Source #
Constructors
| X509IssuerSerial | |
Fields | |
| X509SKI Base64Binary | |
| X509SubjectName X509DistinguishedName | |
| X509Certificate SignedCertificate | |
| X509CRL SignedCRL | |
| X509Digest | |
| X509Element Node | |
Instances
| Eq X509Element Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show X509Element Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> X509Element -> ShowS # show :: X509Element -> String # showList :: [X509Element] -> ShowS # | |
| XmlPickler X509Element Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU X509Element # | |
data SPKIElement Source #
§4.4.6
Constructors
| SPKISexp Base64Binary | |
| SPKIElement Node |
Instances
| Eq SPKIElement Source # | |
Defined in SAML2.XML.Signature.Types | |
| Show SPKIElement Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SPKIElement -> ShowS # show :: SPKIElement -> String # showList :: [SPKIElement] -> ShowS # | |
| XmlPickler SPKIElement Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU SPKIElement # | |
§4.5
Constructors
| Object | |
Fields | |
data ObjectElement Source #
Constructors
| ObjectSignature Signature | |
| ObjectSignatureProperties SignatureProperties | |
| ObjectManifest Manifest | |
| ObjectElement Node |
Instances
| Eq ObjectElement Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: ObjectElement -> ObjectElement -> Bool # (/=) :: ObjectElement -> ObjectElement -> Bool # | |
| Show ObjectElement Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> ObjectElement -> ShowS # show :: ObjectElement -> String # showList :: [ObjectElement] -> ShowS # | |
| XmlPickler ObjectElement Source # | |
Defined in SAML2.XML.Signature.Types Methods xpickle :: PU ObjectElement # | |
§5.1
Constructors
| Manifest | |
Fields | |
data SignatureProperties Source #
§5.2
Constructors
| SignatureProperties | |
Instances
| Eq SignatureProperties Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: SignatureProperties -> SignatureProperties -> Bool # (/=) :: SignatureProperties -> SignatureProperties -> Bool # | |
| Show SignatureProperties Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SignatureProperties -> ShowS # show :: SignatureProperties -> String # showList :: [SignatureProperties] -> ShowS # | |
| XmlPickler SignatureProperties Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
data SignatureProperty Source #
Constructors
| SignatureProperty | |
Fields | |
Instances
| Eq SignatureProperty Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: SignatureProperty -> SignatureProperty -> Bool # (/=) :: SignatureProperty -> SignatureProperty -> Bool # | |
| Show SignatureProperty Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> SignatureProperty -> ShowS # show :: SignatureProperty -> String # showList :: [SignatureProperty] -> ShowS # | |
| XmlPickler SignatureProperty Source # | |
Defined in SAML2.XML.Signature.Types Methods | |
data EncodingAlgorithm Source #
§6.1
Constructors
| EncodingBase64 |
Instances
data DigestAlgorithm Source #
§6.2
Constructors
| DigestSHA1 | §6.2.1 |
| DigestSHA224 | §6.2.2 |
| DigestSHA256 | §6.2.3 |
| DigestSHA384 | §6.2.4 |
| DigestSHA512 | §6.2.5 |
| DigestRIPEMD160 | xmlenc §5.7.4 |
Instances
data MACAlgorithm Source #
§6.3
Constructors
| MACHMAC_SHA1 | §6.3.1 |
Instances
data SignatureAlgorithm Source #
§6.4
Constructors
Instances
data TransformAlgorithm Source #
§6.6
Constructors
| TransformCanonicalization CanonicalizationAlgorithm | §6.6.1 |
| TransformBase64 | §6.6.2 |
| TransformXPath | §6.6.3 |
| TransformEnvelopedSignature | §6.6.4 |
| TransformXSLT | §6.6.5 |
Instances
| Eq TransformAlgorithm Source # | |
Defined in SAML2.XML.Signature.Types Methods (==) :: TransformAlgorithm -> TransformAlgorithm -> Bool # (/=) :: TransformAlgorithm -> TransformAlgorithm -> Bool # | |
| Show TransformAlgorithm Source # | |
Defined in SAML2.XML.Signature.Types Methods showsPrec :: Int -> TransformAlgorithm -> ShowS # show :: TransformAlgorithm -> String # showList :: [TransformAlgorithm] -> ShowS # | |
| Identifiable URI TransformAlgorithm Source # | |
Defined in SAML2.XML.Signature.Types Methods identifier :: TransformAlgorithm -> URI Source # identifiedValues :: [TransformAlgorithm] Source # reidentify :: URI -> Identified URI TransformAlgorithm Source # | |