Class KeyVaultPrivateKey
java.lang.Object
com.azure.security.keyvault.jca.KeyVaultPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, 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
ConstructorsConstructorDescriptionKeyVaultPrivateKey(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 KeyIdvoidsetAlgorithm(String algorithm) Deprecated.Store key vault certificate algorithmvoidDeprecated.Store the KeyIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
KeyVaultPrivateKey
-
-
Method Details
-
getKid
-
setKid
-
setAlgorithm
Deprecated.Store key vault certificate algorithm- Parameters:
algorithm- algorithm
-
getAlgorithm
-
getFormat
-
getEncoded
public byte[] getEncoded()Deprecated.Get the encoded- Specified by:
getEncodedin interfaceKey- Returns:
- the encoded
-