/** * Returns the encryption algorithm * @return the name of an encryption algorithm */ public String getEncryptionAlgorithm() { String encryptAlgo = EncryptionAlgorithms.getAlgorithm(digestEncryptionAlgorithmOid); if (encryptAlgo == null) encryptAlgo = digestEncryptionAlgorithmOid; return encryptAlgo; } }
/** * Returns the encryption algorithm * @return the name of an encryption algorithm */ public String getEncryptionAlgorithm() { String encryptAlgo = EncryptionAlgorithms.getAlgorithm(digestEncryptionAlgorithmOid); if (encryptAlgo == null) encryptAlgo = digestEncryptionAlgorithmOid; return encryptAlgo; } }