![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.security.keyvault.keys.cryptography.implementation.Algorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-security-keyvault-keys Show documentation
Show all versions of azure-security-keyvault-keys Show documentation
This module contains client library for Microsoft Azure KeyVault Keys.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.security.keyvault.keys.cryptography.implementation;
import com.azure.core.util.CoreUtils;
/**
* Abstract base class for all Algorithm objects.
*
*/
abstract class Algorithm {
private final String name;
Algorithm(String name) {
if (CoreUtils.isNullOrEmpty(name) || name.trim().isEmpty()) {
throw new IllegalArgumentException("name");
}
this.name = name;
}
/*
* Gets the name of the algorithm.
*
* @return The name of the algorithm.
*/
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy