intarsys runtime library

de.intarsys.tools.crypto
Class CanonicalFromSecretConverter

java.lang.Object
  extended by de.intarsys.tools.crypto.CanonicalFromSecretConverter
All Implemented Interfaces:
IConverter<Secret,String>

public class CanonicalFromSecretConverter
extends Object
implements IConverter<Secret,String>

Convert a Secret to Canonical


Constructor Summary
CanonicalFromSecretConverter()
           
 
Method Summary
 String convert(Secret source)
          Convert the actual source object.
 Class<?> getSourceType()
          The source type the converter supports.
 Class<?> getTargetType()
          The target type the converter supports.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanonicalFromSecretConverter

public CanonicalFromSecretConverter()
Method Detail

convert

public String convert(Secret source)
               throws ConversionException
Description copied from interface: IConverter
Convert the actual source object.

Specified by:
convert in interface IConverter<Secret,String>
Returns:
The converted object.
Throws:
ConversionException

getSourceType

public Class<?> getSourceType()
Description copied from interface: IConverter
The source type the converter supports.

Specified by:
getSourceType in interface IConverter<Secret,String>
Returns:
The source type the converter supports.

getTargetType

public Class<?> getTargetType()
Description copied from interface: IConverter
The target type the converter supports.

Specified by:
getTargetType in interface IConverter<Secret,String>
Returns:
The target type the converter supports.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.