⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultsecurity.java

📁 Java 3D Desktop Environment旨在使用Java 3D来创建一个3D桌面环境。功能包括:分布式的应用程序
💻 JAVA
字号:
package org.j3de.security;

import java.security.PublicKey;
import java.security.Signature;

import javax.crypto.Cipher;  
import javax.security.auth.callback.CallbackHandler;

import org.w3c.dom.Node; 
import org.w3c.dom.Document;
import org.w3c.dom.Element; 

import org.j3de.util.ConfigHelper;

public class DefaultSecurity implements SecurityFactory {   

  private ConfigHelper helper;
     
  public PublicKey getPublicKey() {
    return null;
  }             
  
  public Cipher    getDecodingCipher() {
    return null;
  }
  
  public Cipher    getEncodingCipher() {
    return null;
  }
  
  public Signature getSignature() {
    return null;
  }
  
  public Signature getVerifySignature(PublicKey sender) {
    return null;
  }   
  
  public void configure(Node node, Document nodeFactory) {
    if (helper == null)
      helper = new ConfigHelper(node, nodeFactory, false);
  }
  
  public Node configure(Document nodeFactory, String componentName) {  
    Element component = ConfigHelper.newComponent(nodeFactory, componentName, this); 
    helper = new ConfigHelper(component, nodeFactory, true);
    configure(component, nodeFactory);
    return component;
  }
   
  public boolean isConfigurationChanged() {
    return helper.isConfigurationChanged();
  }

  public void configurationSaved() {   
    helper.configurationSaved();
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -