public void Init(TransformParameterSpec params1) { //LOG.Log(POILogger.DEBUG, "Init(params)"); if (!(params1 is RelationshipTransformParameterSpec)) { throw new InvalidAlgorithmParameterException(); } RelationshipTransformParameterSpec relParams = (RelationshipTransformParameterSpec)params1; foreach (String sourceId in relParams.sourceIds) { this.sourceIds.Add(sourceId); } }
/** * Initializes this <code>TransformService</code> with the specified * parameters. * * <p>If the parameters exist in XML form, the * {@link #init(XMLStructure, XMLCryptoContext)} method should be used to * initialize the <code>TransformService</code>. * * @param params the algorithm parameters (may be <code>null</code> if * not required or optional) * @throws InvalidAlgorithmParameterException if the specified parameters * are invalid for this algorithm */ public abstract void init(TransformParameterSpec paramsJ);
/** * Initializes this <code>TransformService</code> with the specified * parameters. * * <p>If the parameters exist in XML form, the * {@link #init(XMLStructure, XMLCryptoContext)} method should be used to * initialize the <code>TransformService</code>. * * @param params the algorithm parameters (may be <code>null</code> if * not required or optional) * @throws InvalidAlgorithmParameterException if the specified parameters * are invalid for this algorithm */ public abstract void init(TransformParameterSpec paramsJ) ;//throws InvalidAlgorithmParameterException;
javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec paramsJ);//throws NoSuchAlgorithmException, //InvalidAlgorithmParameterException; /** * Creates a <code>Transform</code> for the specified algorithm URI * and parameters. * * @param algorithm the URI identifying the transform algorithm * @param params algorithm-specific transform parameters (may be * <code>null</code>) * @return the <code>Transform</code> * @throws InvalidAlgorithmParameterException if the specified parameters * are inappropriate for the requested algorithm * @throws NoSuchAlgorithmException if an implementation of the * specified algorithm cannot be found * @throws NullPointerException if <code>algorithm</code> is * <code>null</code> */ public abstract Transform newTransform(String algorithm, TransformParameterSpec paramsJ);//throws NoSuchAlgorithmException,
//InvalidAlgorithmParameterException; /** * Creates a <code>Transform</code> for the specified algorithm URI * and parameters. * * @param algorithm the URI identifying the transform algorithm * @param params algorithm-specific transform parameters (may be * <code>null</code>) * @return the <code>Transform</code> * @throws InvalidAlgorithmParameterException if the specified parameters * are inappropriate for the requested algorithm * @throws NoSuchAlgorithmException if an implementation of the * specified algorithm cannot be found * @throws NullPointerException if <code>algorithm</code> is * <code>null</code> */ public abstract Transform newTransform(String algorithm, TransformParameterSpec paramsJ);