Cipher.sleela
lib/java/jdk-25/javax/crypto/Cipher.sleela · 115 line(s) · sleela
<< lib/java/javax/crypto/Cipher.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.crypto.Cipher.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class Cipher {
< ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
<< Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
or catalog can read and (where appropriate) override this record.
Values are faithful to the subject's real origin where publicly known. >>
String metaVersion = "1.0.0";
int metaId = 2331;
String metaAuthor = "Oracle / OpenJDK";
String metaDate = "2026-10-16";
String metaCopyright = "GPLv2 with Classpath Exception (OpenJDK)";
String metaTrademark = "Java";
String metaCorporation = "Oracle Corporation";
< metaOrigin: National | <nation> | International | Galactic >
String metaOrigin = "International";
String metaBirthDate = "2026-09-29";
< metaScienceRating: maturity/robustness on a 1..10 scale >
int metaScienceRating = 9;
< metaNationalSchedule: a real, citable instrument or "none" >
String metaNationalSchedule = "OpenJDK (JDK 28 API)";
String getMetaVersion() { return metaVersion; }
void setMetaVersion(String v) { metaVersion = v; }
int getMetaId() { return metaId; }
void setMetaId(int v) { metaId = v; }
String getAuthor() { return metaAuthor; }
void setAuthor(String v) { metaAuthor = v; }
String getDate() { return metaDate; }
void setDate(String v) { metaDate = v; }
String getCopyright() { return metaCopyright; }
void setCopyright(String v) { metaCopyright = v; }
String getTrademark() { return metaTrademark; }
void setTrademark(String v) { metaTrademark = v; }
String getCorporation() { return metaCorporation; }
void setCorporation(String v) { metaCorporation = v; }
String getOrigin() { return metaOrigin; }
void setOrigin(String v) { metaOrigin = v; }
String getBirthDate() { return metaBirthDate; }
void setBirthDate(String v) { metaBirthDate = v; }
int getScienceRating() { return metaScienceRating; }
void setScienceRating(int v) { metaScienceRating = v; }
String getNationalSchedule() { return metaNationalSchedule; }
void setNationalSchedule(String v) { metaNationalSchedule = v; }
String javaType = "javax.crypto.Cipher";
String typeName() { return javaType; }
boolean available() { return javaType != ""; }
String construct() { return "java.construct:" + javaType; }
String invoke(String operation) { return "java.invoke:" + javaType + ":" + operation; }
String invokeStatic(String operation) { return "java.static:" + javaType + ":" + operation; }
< ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
< constants and static fields (values reflected from the JDK) >
static final int ENCRYPT_MODE = 1;
static final int DECRYPT_MODE = 2;
static final int WRAP_MODE = 3;
static final int UNWRAP_MODE = 4;
static final int PUBLIC_KEY = 1;
static final int PRIVATE_KEY = 2;
static final int SECRET_KEY = 3;
< ---- END java declarations ---- >
< ---- BEGIN java signatures (generated by tools/jdk_api_signatures.py) ---- >
<< Exact Java signatures (from the JDK). A method body that is not yet
SLeeLa logic throws: AbstractMethodError for an abstract method, else
UnsupportedOperationException naming the Java signature. >>
public java.lang.String toString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.toString()"); }
public final int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.update(byte[], int, int, byte[], int)"); }
public final int update(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.crypto.ShortBufferException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.update(byte[], int, int, byte[])"); }
public final byte[] update(byte[] input, int inputOffset, int inputLen) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.update(byte[], int, int)"); }
public final byte[] update(byte[] input) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.update(byte[])"); }
public final int update(java.nio.ByteBuffer input, java.nio.ByteBuffer output) throws javax.crypto.ShortBufferException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.update(java.nio.ByteBuffer, java.nio.ByteBuffer)"); }
public final byte[] wrap(java.security.Key key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.wrap(java.security.Key)"); }
public static final javax.crypto.Cipher getInstance(java.lang.String transformation) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getInstance(java.lang.String)"); }
public static final javax.crypto.Cipher getInstance(java.lang.String transformation, java.security.Provider provider) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getInstance(java.lang.String, java.security.Provider)"); }
public static final javax.crypto.Cipher getInstance(java.lang.String transformation, java.lang.String provider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, javax.crypto.NoSuchPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getInstance(java.lang.String, java.lang.String)"); }
public final void init(int opmode, java.security.Key key, java.security.AlgorithmParameters params) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.init(int, java.security.Key, java.security.AlgorithmParameters)"); }
public final void init(int opmode, java.security.Key key) throws java.security.InvalidKeyException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.init(int, java.security.Key)"); }
public final void init(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.init(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom)"); }
public final java.security.AlgorithmParameters getParameters() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getParameters()"); }
public final java.security.Key unwrap(byte[] wrappedKey, java.lang.String wrappedKeyAlgorithm, int wrappedKeyType) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.unwrap(byte[], java.lang.String, int)"); }
public final java.security.Provider getProvider() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getProvider()"); }
public final java.lang.String getAlgorithm() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getAlgorithm()"); }
public final javax.crypto.ExemptionMechanism getExemptionMechanism() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getExemptionMechanism()"); }
public final void updateAAD(byte[] src, int offset, int len) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.updateAAD(byte[], int, int)"); }
public final void updateAAD(byte[] src) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.updateAAD(byte[])"); }
public final void updateAAD(java.nio.ByteBuffer src) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.updateAAD(java.nio.ByteBuffer)"); }
public final int getOutputSize(int inputLen) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getOutputSize(int)"); }
public final byte[] getIV() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getIV()"); }
public static final int getMaxAllowedKeyLength(java.lang.String transformation) throws java.security.NoSuchAlgorithmException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getMaxAllowedKeyLength(java.lang.String)"); }
public static final java.security.spec.AlgorithmParameterSpec getMaxAllowedParameterSpec(java.lang.String transformation) throws java.security.NoSuchAlgorithmException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getMaxAllowedParameterSpec(java.lang.String)"); }
public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(byte[], int, int, byte[], int)"); }
public final byte[] doFinal() throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal()"); }
public final byte[] doFinal(byte[] input, int inputOffset, int inputLen) throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(byte[], int, int)"); }
public final int doFinal(java.nio.ByteBuffer input, java.nio.ByteBuffer output) throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(java.nio.ByteBuffer, java.nio.ByteBuffer)"); }
public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(byte[], int, int, byte[])"); }
public final byte[] doFinal(byte[] input) throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(byte[])"); }
public final int doFinal(byte[] output, int outputOffset) throws javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException, javax.crypto.BadPaddingException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.doFinal(byte[], int)"); }
public final int getBlockSize() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.getBlockSize()"); }
< ---- END java signatures ---- >
< ---- BEGIN java constructors (generated by tools/jdk_api_signatures.py) ---- >
<< Exact Java constructor signatures (from the JDK). Overload resolution binds a
call by arity, then best type match. Each body throws
UnsupportedOperationException until its SLeeLa logic is written. >>
@JavaProtected
Cipher(javax.crypto.CipherSpi cipherSpi, java.security.Provider provider, java.lang.String transformation) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.crypto.Cipher.<init>(javax.crypto.CipherSpi, java.security.Provider, java.lang.String)"); }
< ---- END java constructors ---- >
}