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.
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:
-
Constructor Summary
ConstructorDescriptionKeyVaultPrivateKey
(String algorithm, String kid) Deprecated.Builder for key vault private key -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the algorithmbyte[]
Deprecated.Get the encodedDeprecated.Get the formatgetKid()
Deprecated.Get the KeyIdvoid
setAlgorithm
(String algorithm) Deprecated.Store key vault certificate algorithmvoid
Deprecated.Store the KeyIdMethods 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
-
Constructor Details
-
KeyVaultPrivateKey
Deprecated.Builder for key vault private key- Parameters:
algorithm
- algorithmkid
- The key id
-
-
Method Details
-
getKid
Deprecated.Get the KeyId- Returns:
- the KeyId
-
setKid
Deprecated.Store the KeyId- Parameters:
kid
- the KeyId
-
setAlgorithm
Deprecated.Store key vault certificate algorithm- Parameters:
algorithm
- algorithm
-
getAlgorithm
Deprecated.Get the algorithm- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- the algorithm
-
getFormat
Deprecated.Get the format -
getEncoded
public byte[] getEncoded()Deprecated.Get the encoded- Specified by:
getEncoded
in interfaceKey
- Returns:
- the encoded
-