com.microsoft.azure.keyvault.cryptography.Algorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-keyvault-cryptography Show documentation
Show all versions of azure-keyvault-cryptography Show documentation
This package contains Microsoft Azure SDK for Key Vault Cryptography.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.azure.keyvault.cryptography;
/**
* Abstract base class for all Algorithm objects.
*
*/
public abstract class Algorithm {
private final String name;
/**
* Constructor.
*
* @param name The name of the algorithm.
*/
protected Algorithm(String name) {
if (Strings.isNullOrWhiteSpace(name)) {
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 - 2024 Weber Informatics LLC | Privacy Policy