Package com.azure.security.keyvault.jca
Class KeyVaultPrivateKey
- java.lang.Object
-
- com.azure.security.keyvault.jca.KeyVaultPrivateKey
-
- All Implemented Interfaces:
Serializable,Key,PrivateKey,SecretKey,Destroyable
@Deprecated public class KeyVaultPrivateKey extends Object implements PrivateKey, SecretKey
Deprecated.Should not use this class outside of azure-security-keyvault-jca.jar. Move this class to implementation package.KeyVault fake private which work when key less- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyVaultPrivateKey(String algorithm, String kid)Deprecated.Builder for key vault private key
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAlgorithm()Deprecated.byte[]getEncoded()Deprecated.StringgetFormat()Deprecated.StringgetKid()Deprecated.Get the KeyIdvoidsetAlgorithm(String algorithm)Deprecated.Store key vault certificate algorithmvoidsetKid(String kid)Deprecated.Store the KeyId-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Method Detail
-
getKid
public String getKid()
Deprecated.Get the KeyId- Returns:
- the KeyId
-
setKid
public void setKid(String kid)
Deprecated.Store the KeyId- Parameters:
kid- the KeyId
-
setAlgorithm
public void setAlgorithm(String algorithm)
Deprecated.Store key vault certificate algorithm- Parameters:
algorithm- algorithm
-
getAlgorithm
public String getAlgorithm()
Deprecated.- Specified by:
getAlgorithmin interfaceKey
-
getEncoded
public byte[] getEncoded()
Deprecated.- Specified by:
getEncodedin interfaceKey
-
-