Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CHILD_SELECTOR_LEFT |
0 |
public static final int |
CHILD_SELECTOR_RIGHT |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
BitString |
3 |
public static final int |
BmpString |
30 |
public static final int |
Boolean |
1 |
public static final int |
CharacterString |
29 |
public static final int |
EmbeddedPdv |
43 |
public static final int |
Enumerated |
10 |
public static final int |
Eoc |
0 |
public static final int |
External |
40 |
public static final int |
GeneralizedTime |
24 |
public static final int |
GeneralString |
27 |
public static final int |
GraphicString |
25 |
public static final int |
Ia5String |
22 |
public static final int |
Integer |
2 |
public static final int |
Null |
5 |
public static final int |
NumericString |
18 |
public static final int |
ObjectDescriptor |
7 |
public static final int |
ObjectIdentifier |
6 |
public static final int |
OctetString |
4 |
public static final int |
PrintableString |
19 |
public static final int |
Real |
9 |
public static final int |
RelativeOid |
13 |
public static final int |
Sequence |
48 |
public static final int |
Set |
49 |
public static final int |
T61String |
20 |
public static final int |
UniversalString |
28 |
public static final int |
UtcTime |
23 |
public static final int |
Utf8String |
12 |
public static final int |
VideoTexString |
21 |
public static final int |
VisibleString |
26 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
Action |
131 |
public static final int |
Any |
19 |
public static final int |
ChildSelector |
17 |
public static final int |
Content |
21 |
public static final int |
ContentType |
24 |
public static final int |
ContentType_Default |
0 |
public static final int |
ContentType_Key |
2 |
public static final int |
ContentType_Link |
1 |
public static final int |
ControlParameters_ControlParameters |
104 |
public static final int |
ControlParameters_Cost |
106 |
public static final int |
ControlParameters_ExpirationPeriod |
109 |
public static final int |
ControlParameters_FaceId |
105 |
public static final int |
ControlParameters_Flags |
108 |
public static final int |
ControlParameters_LocalControlFeature |
110 |
public static final int |
ControlParameters_Origin |
111 |
public static final int |
ControlParameters_Strategy |
107 |
public static final int |
ControlParameters_Uri |
114 |
public static final int |
Data |
6 |
public static final int |
Encrypt_BlackIntervalList |
142 |
public static final int |
Encrypt_EncryptedContent |
130 |
public static final int |
Encrypt_EncryptedPayload |
132 |
public static final int |
Encrypt_EncryptionAlgorithm |
131 |
public static final int |
Encrypt_EndDate |
135 |
public static final int |
Encrypt_InitialVector |
133 |
public static final int |
Encrypt_IntervalEndHour |
137 |
public static final int |
Encrypt_IntervalStartHour |
136 |
public static final int |
Encrypt_NRepeats |
138 |
public static final int |
Encrypt_RepeatUnit |
139 |
public static final int |
Encrypt_RepetitiveInterval |
140 |
public static final int |
Encrypt_Schedule |
143 |
public static final int |
Encrypt_StartDate |
134 |
public static final int |
Encrypt_WhiteIntervalList |
141 |
public static final int |
Exclude |
16 |
public static final int |
FaceID |
132 |
public static final int |
FaceInstance |
128 |
public static final int |
FinalBlockId |
26 |
public static final int |
ForwardingEntry |
129 |
public static final int |
ForwardingFlags |
138 |
public static final int |
FreshnessPeriod |
25 |
public static final int |
Host |
134 |
public static final int |
Interest |
5 |
public static final int |
InterestLifetime |
12 |
public static final int |
IPProto |
133 |
public static final int |
KeyLocator |
28 |
public static final int |
KeyLocatorDigest |
29 |
public static final int |
Link_Delegation |
31 |
public static final int |
Link_Preference |
30 |
public static final int |
LpPacket_CachePolicy |
820 |
public static final int |
LpPacket_CachePolicyType |
821 |
public static final int |
LpPacket_FragCount |
83 |
public static final int |
LpPacket_FragIndex |
82 |
public static final int |
LpPacket_Fragment |
80 |
public static final int |
LpPacket_IGNORE_MAX |
959 |
public static final int |
LpPacket_IGNORE_MIN |
800 |
public static final int |
LpPacket_IncomingFaceId |
817 |
public static final int |
LpPacket_LpPacket |
100 |
public static final int |
LpPacket_Nack |
800 |
public static final int |
LpPacket_NackReason |
801 |
public static final int |
LpPacket_NextHopFaceId |
816 |
public static final int |
LpPacket_Sequence |
81 |
public static final int |
MaxSuffixComponents |
14 |
public static final int |
MetaInfo |
20 |
public static final int |
MinSuffixComponents |
13 |
public static final int |
MulticastInterface |
136 |
public static final int |
MulticastTTL |
137 |
public static final int |
MustBeFresh |
18 |
public static final int |
Name |
7 |
public static final int |
NameComponent |
8 |
public static final int |
NfdCommand_ControlResponse |
101 |
public static final int |
NfdCommand_StatusCode |
102 |
public static final int |
NfdCommand_StatusText |
103 |
public static final int |
Nonce |
10 |
public static final int |
Port |
135 |
public static final int |
PublisherPublicKeyLocator |
15 |
public static final int |
SelectedDelegation |
32 |
public static final int |
Selectors |
9 |
public static final int |
SignatureInfo |
22 |
public static final int |
SignatureType |
27 |
public static final int |
SignatureType_DigestSha256 |
0 |
public static final int |
SignatureType_SignatureHmacWithSha256 |
4 |
public static final int |
SignatureType_SignatureSha256WithEcdsa |
3 |
public static final int |
SignatureType_SignatureSha256WithRsa |
1 |
public static final int |
SignatureValue |
23 |
public static final int |
StatusCode |
139 |
public static final int |
StatusResponse |
130 |
public static final int |
StatusText |
140 |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DELETE_deleteKey |
"DELETE FROM decryptionkeys WHERE key_name=?" |
protected static final String |
INITIALIZATION1 |
"CREATE TABLE IF NOT EXISTS \n decryptionkeys( \n key_id INTEGER PRIMARY KEY, \n key_name BLOB NOT NULL, \n key_buf BLOB NOT NULL \n ); \n" |
protected static final String |
INITIALIZATION2 |
"CREATE UNIQUE INDEX IF NOT EXISTS \n KeyNameIndex ON decryptionkeys(key_name); \n" |
protected static final String |
INSERT_addKey |
"INSERT INTO decryptionkeys(key_name, key_buf) values (?, ?)" |
protected static final String |
SELECT_getKey |
"SELECT key_buf FROM decryptionkeys WHERE key_name=?" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DELETE_deleteMember |
"DELETE FROM members WHERE member_name=?" |
protected static final String |
DELETE_deleteSchedule |
"DELETE FROM schedules WHERE schedule_name=?" |
protected static final String |
INITIALIZATION1 |
"CREATE TABLE IF NOT EXISTS \n schedules( \n schedule_id INTEGER PRIMARY KEY, \n schedule_name TEXT NOT NULL, \n schedule BLOB NOT NULL \n ); \n" |
protected static final String |
INITIALIZATION2 |
"CREATE UNIQUE INDEX IF NOT EXISTS \n scheduleNameIndex ON schedules(schedule_name); \n" |
protected static final String |
INITIALIZATION3 |
"CREATE TABLE IF NOT EXISTS \n members( \n member_id INTEGER PRIMARY KEY, \n schedule_id INTEGER NOT NULL, \n member_name BLOB NOT NULL, \n key_name BLOB NOT NULL, \n pubkey BLOB NOT NULL, \n FOREIGN KEY(schedule_id) \n REFERENCES schedules(schedule_id) \n ON DELETE CASCADE \n ON UPDATE CASCADE \n ); \n" |
protected static final String |
INITIALIZATION4 |
"CREATE UNIQUE INDEX IF NOT EXISTS \n memNameIndex ON members(member_name); \n" |
protected static final String |
INSERT_addMember |
"INSERT INTO members(schedule_id, member_name, key_name, pubkey) values (?, ?, ?, ?)" |
protected static final String |
INSERT_addSchedule |
"INSERT INTO schedules (schedule_name, schedule) values (?, ?)" |
protected static final String |
PRAGMA_foreign_keys |
"PRAGMA foreign_keys = ON" |
protected static final String |
SELECT_getMemberSchedule |
"SELECT schedule_name FROM schedules JOIN members ON schedules.schedule_id = members.schedule_id WHERE member_name=?" |
protected static final String |
SELECT_getSchedule |
"SELECT schedule FROM schedules WHERE schedule_name=?" |
protected static final String |
SELECT_getScheduleId |
"SELECT schedule_id FROM schedules WHERE schedule_name=?" |
protected static final String |
SELECT_getScheduleMembers |
"SELECT key_name, pubkey FROM members JOIN schedules ON members.schedule_id=schedules.schedule_id WHERE schedule_name=?" |
protected static final String |
SELECT_hasMember |
"SELECT member_id FROM members WHERE member_name=?" |
protected static final String |
SELECT_hasSchedule |
"SELECT schedule_id FROM schedules where schedule_name=?" |
protected static final String |
SELECT_listAllMembers |
"SELECT member_name FROM members" |
protected static final String |
SELECT_listAllScheduleNames |
"SELECT schedule_name FROM schedules" |
protected static final String |
UPDATE_renameSchedule |
"UPDATE schedules SET schedule_name=? WHERE schedule_name=?" |
protected static final String |
UPDATE_updateMemberSchedule |
"UPDATE members SET schedule_id=? WHERE member_name=?" |
protected static final String |
UPDATE_updateSchedule |
"UPDATE schedules SET schedule=? WHERE schedule_name=?" |
protected static final String |
WHERE_renameSchedule |
"schedule_name=?" |
protected static final String |
WHERE_updateSchedule |
"schedule_name=?" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DELETE_deleteContentKey |
"DELETE FROM contentkeys WHERE timeslot=?" |
protected static final String |
INITIALIZATION1 |
"CREATE TABLE IF NOT EXISTS \n contentkeys( \n rowId INTEGER PRIMARY KEY, \n timeslot INTEGER, \n key BLOB NOT NULL \n ); \n" |
protected static final String |
INITIALIZATION2 |
"CREATE UNIQUE INDEX IF NOT EXISTS \n timeslotIndex ON contentkeys(timeslot); \n" |
protected static final String |
INSERT_addContentKey |
"INSERT INTO contentkeys (timeslot, key) values (?, ?)" |
protected static final String |
SELECT_getContentKey |
"SELECT key FROM contentkeys where timeslot=?" |
protected static final String |
SELECT_hasContentKey |
"SELECT key FROM contentkeys where timeslot=?" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
BLOCK_SIZE |
16 |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
INIT_CERT_TABLE1 |
"CREATE TABLE IF NOT EXISTS \n Certificate( \n cert_name BLOB NOT NULL, \n cert_issuer BLOB NOT NULL, \n identity_name BLOB NOT NULL, \n key_identifier BLOB NOT NULL, \n not_before TIMESTAMP, \n not_after TIMESTAMP, \n certificate_data BLOB NOT NULL, \n valid_flag INTEGER DEFAULT 1, \n default_cert INTEGER DEFAULT 0, \n \n PRIMARY KEY (cert_name) \n ); \n \n" |
protected static final String |
INIT_CERT_TABLE2 |
"CREATE INDEX cert_index ON Certificate(cert_name); \n" |
protected static final String |
INIT_CERT_TABLE3 |
"CREATE INDEX subject ON Certificate(identity_name); \n" |
protected static final String |
INIT_ID_TABLE1 |
"CREATE TABLE IF NOT EXISTS \n Identity( \n identity_name BLOB NOT NULL, \n default_identity INTEGER DEFAULT 0, \n \n PRIMARY KEY (identity_name) \n ); \n \n" |
protected static final String |
INIT_ID_TABLE2 |
"CREATE INDEX identity_index ON Identity(identity_name); \n" |
protected static final String |
INIT_KEY_TABLE1 |
"CREATE TABLE IF NOT EXISTS \n Key( \n identity_name BLOB NOT NULL, \n key_identifier BLOB NOT NULL, \n key_type INTEGER, \n public_key BLOB, \n default_key INTEGER DEFAULT 0, \n active INTEGER DEFAULT 0, \n \n PRIMARY KEY (identity_name, key_identifier) \n ); \n \n" |
protected static final String |
INIT_KEY_TABLE2 |
"CREATE INDEX key_index ON Key(identity_name); \n" |
protected static final String |
SELECT_doesCertificateExist |
"SELECT count(*) FROM Certificate WHERE cert_name=?" |
protected static final String |
SELECT_doesIdentityExist |
"SELECT count(*) FROM Identity WHERE identity_name=?" |
protected static final String |
SELECT_doesKeyExist |
"SELECT count(*) FROM Key WHERE identity_name=? AND key_identifier=?" |
protected static final String |
SELECT_getAllCertificateNamesOfKey_default_false |
"SELECT cert_name FROM Certificate WHERE default_cert=0 and identity_name=? and key_identifier=?" |
protected static final String |
SELECT_getAllCertificateNamesOfKey_default_true |
"SELECT cert_name FROM Certificate WHERE default_cert=1 and identity_name=? and key_identifier=?" |
protected static final String |
SELECT_getAllIdentities_default_false |
"SELECT identity_name FROM Identity WHERE default_identity=0" |
protected static final String |
SELECT_getAllIdentities_default_true |
"SELECT identity_name FROM Identity WHERE default_identity=1" |
protected static final String |
SELECT_getAllKeyNamesOfIdentity_default_false |
"SELECT key_identifier FROM Key WHERE default_key=0 and identity_name=?" |
protected static final String |
SELECT_getAllKeyNamesOfIdentity_default_true |
"SELECT key_identifier FROM Key WHERE default_key=1 and identity_name=?" |
protected static final String |
SELECT_getCertificate |
"SELECT certificate_data FROM Certificate WHERE cert_name=?" |
protected static final String |
SELECT_getDefaultCertificateNameForKey |
"SELECT cert_name FROM Certificate WHERE identity_name=? AND key_identifier=? AND default_cert=1" |
protected static final String |
SELECT_getDefaultIdentity |
"SELECT identity_name FROM Identity WHERE default_identity=1" |
protected static final String |
SELECT_getDefaultKeyNameForIdentity |
"SELECT key_identifier FROM Key WHERE identity_name=? AND default_key=1" |
protected static final String |
SELECT_getKey |
"SELECT public_key FROM Key WHERE identity_name=? AND key_identifier=?" |
protected static final String |
SELECT_MASTER_CERT_TABLE |
"SELECT name FROM sqlite_master WHERE type=\'table\' And name=\'Certificate\'" |
protected static final String |
SELECT_MASTER_ID_TABLE |
"SELECT name FROM sqlite_master WHERE type=\'table\' And name=\'Identity\'" |
protected static final String |
SELECT_MASTER_KEY_TABLE |
"SELECT name FROM sqlite_master WHERE type=\'table\' And name=\'Key\'" |
protected static final String |
WHERE_deleteCertificateInfo |
"cert_name=?" |
protected static final String |
WHERE_deleteIdentityInfo |
"identity_name=?" |
protected static final String |
WHERE_deletePublicKeyInfo |
"identity_name=? and key_identifier=?" |
protected static final String |
WHERE_setDefaultCertificateNameForKey_reset |
"default_cert=1 AND identity_name=? AND key_identifier=?" |
protected static final String |
WHERE_setDefaultCertificateNameForKey_set |
"identity_name=? AND key_identifier=? AND cert_name=?" |
protected static final String |
WHERE_setDefaultIdentity_reset |
"default_identity=1" |
protected static final String |
WHERE_setDefaultIdentity_set |
"identity_name=?" |
protected static final String |
WHERE_setDefaultKeyNameForIdentity_reset |
"default_key=1 and identity_name=?" |
protected static final String |
WHERE_setDefaultKeyNameForIdentity_set |
"identity_name=? AND key_identifier=?" |
protected static final String |
WHERE_updateKeyStatus |
"identity_name=? AND key_identifier=?" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
NAME_FIELD_NUMBER |
1 |
public static final int |
SEQNO_FIELD_NUMBER |
3 |
public static final int |
TYPE_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DELETE_VALUE |
1 |
public static final int |
OTHER_VALUE |
2 |
public static final int |
UPDATE_VALUE |
0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SEQ_FIELD_NUMBER |
1 |
public static final int |
SESSION_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SS_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_LOCK_TIMEOUT_MS |
10000 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MAX_NDN_PACKET_SIZE |
8800 |
Copyright © 2016. All rights reserved.