Home /Modules/java/SSLParameters.sleela

SSLParameters.sleela

lib/java/jdk-25/javax/net/ssl/SSLParameters.sleela · 114 line(s) · sleela

<< lib/java/javax/net/ssl/SSLParameters.sleela
   SLeeLa Java 28 source envelope.
   Definition: SLeeLa source declaration for the Java type javax.net.ssl.SSLParameters.
   Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;

class SSLParameters {
  < ---- 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 = 7954;
  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.net.ssl.SSLParameters";
  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 implementation ---- >
  < ---- javax.net.ssl.SSLParameters accessor contract (generated by tools/jdk_api_accessors.py) ---- >
  << State and accessors whose behavior was observed on the JDK by
     tools/ApiAccessorProbe.java: getters returning a constructor argument,
     the initial state of a property, and setter / getter round trips,
     for every probed constructor that determines all of that state.
     Methods beyond these keep their exact-signature stubs. >>
  boolean heldNeedClientAuth;
  boolean heldWantClientAuth;
  boolean heldUseCipherSuitesOrder;
  boolean heldEnableRetransmissions;
  int heldMaximumPacketSize;
  public SSLParameters() { this.heldNeedClientAuth = false; this.heldWantClientAuth = false; this.heldUseCipherSuitesOrder = false; this.heldEnableRetransmissions = true; this.heldMaximumPacketSize = 0; }
  public boolean getNeedClientAuth() { return this.heldNeedClientAuth; }
  public boolean getWantClientAuth() { return this.heldWantClientAuth; }
  public final boolean getUseCipherSuitesOrder() { return this.heldUseCipherSuitesOrder; }
  public boolean getEnableRetransmissions() { return this.heldEnableRetransmissions; }
  public int getMaximumPacketSize() { return this.heldMaximumPacketSize; }
  public void setNeedClientAuth(boolean needClientAuth) { this.heldNeedClientAuth = needClientAuth; }
  public void setWantClientAuth(boolean wantClientAuth) { this.heldWantClientAuth = wantClientAuth; }
  public final void setUseCipherSuitesOrder(boolean honorOrder) { this.heldUseCipherSuitesOrder = honorOrder; }
  public void setEnableRetransmissions(boolean enableRetransmissions) { this.heldEnableRetransmissions = enableRetransmissions; }
  public void setMaximumPacketSize(int maximumPacketSize) { this.heldMaximumPacketSize = maximumPacketSize; }
  < ---- END java implementation ---- >

  < ---- 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 void setCipherSuites(java.lang.String[] cipherSuites) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setCipherSuites(java.lang.String[])"); }
  public void setProtocols(java.lang.String[] protocols) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setProtocols(java.lang.String[])"); }
  public java.lang.String[] getCipherSuites() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getCipherSuites()"); }
  public java.lang.String[] getProtocols() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getProtocols()"); }
  public java.security.AlgorithmConstraints getAlgorithmConstraints() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getAlgorithmConstraints()"); }
  public void setAlgorithmConstraints(java.security.AlgorithmConstraints constraints) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setAlgorithmConstraints(java.security.AlgorithmConstraints)"); }
  public java.lang.String getEndpointIdentificationAlgorithm() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getEndpointIdentificationAlgorithm()"); }
  public void setEndpointIdentificationAlgorithm(java.lang.String algorithm) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setEndpointIdentificationAlgorithm(java.lang.String)"); }
  public final void setServerNames(java.util.List<javax.net.ssl.SNIServerName> serverNames) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setServerNames(java.util.List<javax.net.ssl.SNIServerName>)"); }
  public final java.util.List<javax.net.ssl.SNIServerName> getServerNames() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getServerNames()"); }
  public final void setSNIMatchers(java.util.Collection<javax.net.ssl.SNIMatcher> matchers) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setSNIMatchers(java.util.Collection<javax.net.ssl.SNIMatcher>)"); }
  public final java.util.Collection<javax.net.ssl.SNIMatcher> getSNIMatchers() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getSNIMatchers()"); }
  public java.lang.String[] getApplicationProtocols() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getApplicationProtocols()"); }
  public void setApplicationProtocols(java.lang.String[] protocols) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setApplicationProtocols(java.lang.String[])"); }
  public java.lang.String[] getSignatureSchemes() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getSignatureSchemes()"); }
  public void setSignatureSchemes(java.lang.String[] signatureSchemes) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setSignatureSchemes(java.lang.String[])"); }
  public java.lang.String[] getNamedGroups() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.getNamedGroups()"); }
  public void setNamedGroups(java.lang.String[] namedGroups) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.setNamedGroups(java.lang.String[])"); }
  < ---- 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. >>
  public SSLParameters(java.lang.String[] cipherSuites, java.lang.String[] protocols) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.<init>(java.lang.String[], java.lang.String[])"); }
  public SSLParameters(java.lang.String[] cipherSuites) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.net.ssl.SSLParameters.<init>(java.lang.String[])"); }
  < ---- END java constructors ---- >
}