MCPcopy Create free account
hub / github.com/crewjam/saml / lookupDigestMethod

Function lookupDigestMethod

xmlenc/xmlenc.go:99–104  ·  view source on GitHub ↗

lookupDigestMethod returns the digest method registered for algorithm.

(algorithm string)

Source from the content-addressed store, hash-verified

97
98// lookupDigestMethod returns the digest method registered for algorithm.
99func lookupDigestMethod(algorithm string) (DigestMethod, bool) {
100 registryMu.RLock()
101 defer registryMu.RUnlock()
102 dm, ok := digestMethods[algorithm]
103 return dm, ok
104}
105
106// BlockCipher implements a cipher with a fixed size key like AES or 3DES.
107type BlockCipher interface {

Callers 1

DecryptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected