public BinarySecret createBinarySecret(final byte[] rawValue, final String type) {
return new BinarySecretImpl(rawValue, type);
}
public BinarySecret createBinarySecret(final Element elem) throws WSTrustException {
return new BinarySecretImpl(BinarySecretImpl.fromElement(elem));
}