org.mule.tck.security.MockKeyFactory Maven / Gradle / Ivy
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.tck.security;
import org.mule.security.SecretKeyFactory;
/**
* Empty mock for tests
*/
public class MockKeyFactory extends Named implements SecretKeyFactory
{
public byte[] getKey()
{
return "key".getBytes();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy