kmvi / bc-xml-security

XML Signature and XML Encryption using Bouncy Castle (C#)
MIT License
13 stars 9 forks source link

Possibility to add custom transforms #7

Closed Hiller closed 6 months ago

Hiller commented 6 months ago

I have custom transforms for XML, but those custom transforms are not in CryptoHelpers

I guess there are should be a method like CryptoHelpers.Add<T,TImplementation>(string urn) so we'll be able to register and use custom transforms like

CryptoHelpers.Add<Transform,MyCustomTransform>(urn)

kmvi commented 6 months ago

You can use CryptoHelpers.SetKnownName<CustomTransform>("urn:custom-transform").