📄 options.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: Options.java
package jit.asn1.spkm;
import jit.asn1.DERBitString;
public class Options extends DERBitString
{
public static final int DELEGATION_STATE = 128;
public static final int MUTUAL_STATE = 64;
public static final int REPLAY_DET_STATE = 32;
public static final int SEQUENCE_STATE = 16;
public static final int CONF_AVAIL = 8;
public static final int INTEG_AVAIL = 4;
public static final int TARGET_CERTIF_DATA_REQUIRED = 2;
public Options(int options)
{
super(DERBitString.getBytes(options), DERBitString.getPadBits(options));
}
public Options(DERBitString options)
{
super(options.getBytes(), options.getPadBits());
}
public boolean[] getOptions()
{
byte bOptions[] = getBytes();
int length = bOptions.length * 8 - getPadBits();
boolean options[] = new boolean[length >= 7 ? length : 7];
for(int i = 0; i != length; i++)
options[i] = (bOptions[i / 8] & 128 >>> i % 8) != 0;
return options;
}
static
{
DELEGATION_STATE = 128;
MUTUAL_STATE = 64;
REPLAY_DET_STATE = 32;
SEQUENCE_STATE = 16;
CONF_AVAIL = 8;
INTEG_AVAIL = 4;
TARGET_CERTIF_DATA_REQUIRED = 2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -