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

📄 snmpsecurityparameters.java

📁 java1.6众多例子参考
💻 JAVA
字号:
/* * @(#)file      SnmpSecurityParameters.java * @(#)author    Sun Microsystems, Inc. * @(#)version   1.18 * @(#)date      08/07/21 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * */package com.sun.jmx.snmp;import com.sun.jmx.snmp.SnmpStatusException;import com.sun.jmx.snmp.SnmpTooBigException;/** * Security parameters are security model dependent. Every security parameters class wishing to be passed to a security model must implement this marker interface. * This interface has to be implemented when developing customized security models. * <p><b>This API is a Sun Microsystems internal API  and is subject  * to change without notice.</b></p> * @since 1.5 */public interface SnmpSecurityParameters {    /**     * BER encoding of security parameters.     * @param outputBytes Array to fill.     * @return Encoded parameters length.     */    int encode(byte[] outputBytes) throws SnmpTooBigException;    /**     * BER decoding of security parameters.     * @param params Encoded parameters.     */    void decode(byte[] params) throws SnmpStatusException;    /**     * Principal coded inside the security parameters.     * @return The security principal.     */    String getPrincipal();}

⌨️ 快捷键说明

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