CryptoProvider methods de/encryptSymm, sign/verifySymm have dependency to SecurityToken (which is part of the tcp impls). Should be refactored to only rely on SecurityPolicy (+extra needed parameters from the token). This way CryptoProvider can be used to do those operations outside of tcp (e.g. for UADP defined in 1.04). Additionally inputOffset and inputLength should be added where missing/possible to cover future uses.
CryptoProvider methods de/encryptSymm, sign/verifySymm have dependency to SecurityToken (which is part of the tcp impls). Should be refactored to only rely on SecurityPolicy (+extra needed parameters from the token). This way CryptoProvider can be used to do those operations outside of tcp (e.g. for UADP defined in 1.04). Additionally inputOffset and inputLength should be added where missing/possible to cover future uses.