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:
PrivateKey,SecretKey, 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.Get the algorithmbyte[]getEncoded()Deprecated.Get the encodedStringgetFormat()Deprecated.Get the formatStringgetKid()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.Get the algorithm- Specified by:
getAlgorithmin interfaceKey- Returns:
- the algorithm
-
getFormat
public String getFormat()
Deprecated.Get the format
-
getEncoded
public byte[] getEncoded()
Deprecated.Get the encoded- Specified by:
getEncodedin interfaceKey- Returns:
- the encoded
-
-