Preview API
Show preview API for:
Contents
-
InterfacesInterfacePreview FeatureDescriptionStable ValuesA stable value is a holder of contents that can be set at most once.PEM Encodings of Cryptographic ObjectsThis interface is implemented by security API classes that contain binary-encodable key or certificate material.Structured ConcurrencyAn API for structured concurrency.Structured ConcurrencyRepresents the configuration for a
StructuredTaskScope.Structured ConcurrencyAn object used with aStructuredTaskScopePREVIEW to handle subtask completion and produce the result for the scope owner waiting in thejoinPREVIEW method for subtasks to complete.Structured ConcurrencyRepresents a subtask forked withStructuredTaskScope.fork(Callable)PREVIEW orStructuredTaskScope.fork(Runnable)PREVIEW.
-
ClassesClassPreview FeatureDescriptionPEM Encodings of Cryptographic Objects
PEMDecoderimplements a decoder for Privacy-Enhanced Mail (PEM) data.PEM Encodings of Cryptographic ObjectsPEMEncoderimplements an encoder for Privacy-Enhanced Mail (PEM) data.
-
Enum ClassesEnum ClassPreview FeatureDescriptionStructured ConcurrencyRepresents the state of a subtask.
-
Exception ClassesException ClassPreview FeatureDescriptionStructured ConcurrencyException thrown by
StructuredTaskScope.join()PREVIEW when the outcome is an exception rather than a result.Structured ConcurrencyException thrown byStructuredTaskScope.join()PREVIEW if the scope was created with a timeout and the timeout expired before or while waiting injoin.Structured ConcurrencyThrown when a structure violation is detected.
-
Record ClassesRecord ClassPreview FeatureDescriptionPEM Encodings of Cryptographic Objects
PEMRecordis aDEREncodablePREVIEW that represents Privacy-Enhanced Mail (PEM) data by its type and Base64 form.
-
MethodsMethodPreview FeatureDescriptionPEM Encodings of Cryptographic ObjectsCreates and encrypts an
EncryptedPrivateKeyInfofrom a givenPrivateKeyand password.javax.crypto.EncryptedPrivateKeyInfo.encryptKey(PrivateKey, char[], String, AlgorithmParameterSpec, Provider) PREVIEWPEM Encodings of Cryptographic ObjectsCreates and encrypts anEncryptedPrivateKeyInfofrom a givenPrivateKey.javax.crypto.EncryptedPrivateKeyInfo.encryptKey(PrivateKey, Key, String, AlgorithmParameterSpec, Provider, SecureRandom) PREVIEWPEM Encodings of Cryptographic ObjectsCreates and encrypts anEncryptedPrivateKeyInfofrom the givenPrivateKeyusing theencKeyand given parameters.PEM Encodings of Cryptographic ObjectsExtract the enclosedPrivateKeyobject from the encrypted data and return it.PEM Encodings of Cryptographic ObjectsExtract the enclosedPrivateKeyobject from the encrypted data and return it.