public class Transformation extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Gets the algorithm.
|
String |
getMode()
Gets the mode.
|
Padding |
getPadding()
Gets the padding.
|
static Transformation |
parse(String transformation)
Parses a transformation.
|
public static Transformation parse(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException
transformation
- current transformationNoSuchAlgorithmException
- if the algorithm is not supportedNoSuchPaddingException
- Thrown when the padding is unsupported.public String getAlgorithm()
public Padding getPadding()
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.