kerberos5-ts
Version:
Kerberos 5 Protocol in pure TypeScript
504 lines • 36.4 kB
TypeScript
import * as asn1 from "asn1-ts";
import * as __utils from "./__utils";
export declare const id_krb5: asn1.OBJECT_IDENTIFIER;
export declare type KerberosFlags = asn1.BIT_STRING;
export declare function _decode_KerberosFlags(el: asn1.ASN1Element): Uint8ClampedArray;
export declare function _encode_KerberosFlags(value: KerberosFlags, elGetter: __utils.ASN1Encoder<KerberosFlags>): asn1.ASN1Element;
export declare type TicketFlags = KerberosFlags;
export declare function _decode_TicketFlags(el: asn1.ASN1Element): Uint8ClampedArray;
export declare function _encode_TicketFlags(value: TicketFlags, elGetter: __utils.ASN1Encoder<TicketFlags>): asn1.ASN1Element;
export declare type Int32 = asn1.INTEGER;
export declare function _decode_Int32(el: asn1.ASN1Element): number;
export declare function _encode_Int32(value: Int32, elGetter: __utils.ASN1Encoder<Int32>): asn1.ASN1Element;
export declare class EncryptionKey {
readonly keytype: Int32;
readonly keyvalue: asn1.OCTET_STRING;
constructor(keytype: Int32, keyvalue: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_EncryptionKey: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncryptionKey: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncryptionKey: __utils.ComponentSpec[];
export declare function _decode_EncryptionKey(el: asn1.ASN1Element): EncryptionKey;
export declare function _encode_EncryptionKey(value: EncryptionKey, elGetter: __utils.ASN1Encoder<EncryptionKey>): asn1.ASN1Element;
export declare type KerberosString = asn1.GeneralString;
export declare function _decode_KerberosString(el: asn1.ASN1Element): string;
export declare function _encode_KerberosString(value: KerberosString, elGetter: __utils.ASN1Encoder<KerberosString>): asn1.ASN1Element;
export declare type Realm = KerberosString;
export declare function _decode_Realm(el: asn1.ASN1Element): string;
export declare function _encode_Realm(value: Realm, elGetter: __utils.ASN1Encoder<Realm>): asn1.ASN1Element;
export declare class PrincipalName {
readonly name_type: Int32;
readonly name_string: KerberosString[];
constructor(name_type: Int32, name_string: KerberosString[]);
}
export declare const _root_component_type_list_1_spec_for_PrincipalName: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PrincipalName: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PrincipalName: __utils.ComponentSpec[];
export declare function _decode_PrincipalName(el: asn1.ASN1Element): PrincipalName;
export declare function _encode_PrincipalName(value: PrincipalName, elGetter: __utils.ASN1Encoder<PrincipalName>): asn1.ASN1Element;
export declare class TransitedEncoding {
readonly tr_type: Int32;
readonly contents: asn1.OCTET_STRING;
constructor(tr_type: Int32, contents: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_TransitedEncoding: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_TransitedEncoding: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_TransitedEncoding: __utils.ComponentSpec[];
export declare function _decode_TransitedEncoding(el: asn1.ASN1Element): TransitedEncoding;
export declare function _encode_TransitedEncoding(value: TransitedEncoding, elGetter: __utils.ASN1Encoder<TransitedEncoding>): asn1.ASN1Element;
export declare type KerberosTime = asn1.GeneralizedTime;
export declare function _decode_KerberosTime(el: asn1.ASN1Element): Date;
export declare function _encode_KerberosTime(value: KerberosTime, elGetter: __utils.ASN1Encoder<KerberosTime>): asn1.ASN1Element;
export declare class HostAddress {
readonly addr_type: Int32;
readonly address: asn1.OCTET_STRING;
constructor(addr_type: Int32, address: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_HostAddress: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_HostAddress: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_HostAddress: __utils.ComponentSpec[];
export declare function _decode_HostAddress(el: asn1.ASN1Element): HostAddress;
export declare function _encode_HostAddress(value: HostAddress, elGetter: __utils.ASN1Encoder<HostAddress>): asn1.ASN1Element;
export declare type HostAddresses = HostAddress[];
export declare function _decode_HostAddresses(el: asn1.ASN1Element): HostAddresses;
export declare function _encode_HostAddresses(value: HostAddresses, elGetter: __utils.ASN1Encoder<HostAddresses>): asn1.ASN1Element;
export declare class AuthorizationData_Item {
readonly ad_type: Int32;
readonly ad_data: asn1.OCTET_STRING;
constructor(ad_type: Int32, ad_data: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_AuthorizationData_Item: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AuthorizationData_Item: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AuthorizationData_Item: __utils.ComponentSpec[];
export declare function _decode_AuthorizationData_Item(el: asn1.ASN1Element): AuthorizationData_Item;
export declare function _encode_AuthorizationData_Item(value: AuthorizationData_Item, elGetter: __utils.ASN1Encoder<AuthorizationData_Item>): asn1.ASN1Element;
export declare type AuthorizationData = AuthorizationData_Item[];
export declare function _decode_AuthorizationData(el: asn1.ASN1Element): AuthorizationData;
export declare function _encode_AuthorizationData(value: AuthorizationData, elGetter: __utils.ASN1Encoder<AuthorizationData>): asn1.ASN1Element;
export declare class EncTicketPart {
readonly flags: TicketFlags;
readonly key: EncryptionKey;
readonly crealm: Realm;
readonly cname: PrincipalName;
readonly transited: TransitedEncoding;
readonly authtime: KerberosTime;
readonly starttime: asn1.OPTIONAL<KerberosTime>;
readonly endtime: KerberosTime;
readonly renew_till: asn1.OPTIONAL<KerberosTime>;
readonly caddr: asn1.OPTIONAL<HostAddresses>;
readonly authorization_data: asn1.OPTIONAL<AuthorizationData>;
constructor(flags: TicketFlags, key: EncryptionKey, crealm: Realm, cname: PrincipalName, transited: TransitedEncoding, authtime: KerberosTime, starttime: asn1.OPTIONAL<KerberosTime>, endtime: KerberosTime, renew_till: asn1.OPTIONAL<KerberosTime>, caddr: asn1.OPTIONAL<HostAddresses>, authorization_data: asn1.OPTIONAL<AuthorizationData>);
}
export declare const _root_component_type_list_1_spec_for_EncTicketPart: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncTicketPart: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncTicketPart: __utils.ComponentSpec[];
export declare function _decode_EncTicketPart(el: asn1.ASN1Element): EncTicketPart;
export declare function _encode_EncTicketPart(value: EncTicketPart, elGetter: __utils.ASN1Encoder<EncTicketPart>): asn1.ASN1Element;
export declare class PA_DATA {
readonly padata_type: Int32;
readonly padata_value: asn1.OCTET_STRING;
constructor(padata_type: Int32, padata_value: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_PA_DATA: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PA_DATA: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PA_DATA: __utils.ComponentSpec[];
export declare function _decode_PA_DATA(el: asn1.ASN1Element): PA_DATA;
export declare function _encode_PA_DATA(value: PA_DATA, elGetter: __utils.ASN1Encoder<PA_DATA>): asn1.ASN1Element;
export declare type KDCOptions = KerberosFlags;
export declare function _decode_KDCOptions(el: asn1.ASN1Element): Uint8ClampedArray;
export declare function _encode_KDCOptions(value: KDCOptions, elGetter: __utils.ASN1Encoder<KDCOptions>): asn1.ASN1Element;
export declare type UInt32 = asn1.INTEGER;
export declare function _decode_UInt32(el: asn1.ASN1Element): number;
export declare function _encode_UInt32(value: UInt32, elGetter: __utils.ASN1Encoder<UInt32>): asn1.ASN1Element;
export declare class EncryptedData {
readonly etype: Int32;
readonly kvno: asn1.OPTIONAL<UInt32>;
readonly cipher: asn1.OCTET_STRING;
constructor(etype: Int32, kvno: asn1.OPTIONAL<UInt32>, cipher: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_EncryptedData: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncryptedData: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncryptedData: __utils.ComponentSpec[];
export declare function _decode_EncryptedData(el: asn1.ASN1Element): EncryptedData;
export declare function _encode_EncryptedData(value: EncryptedData, elGetter: __utils.ASN1Encoder<EncryptedData>): asn1.ASN1Element;
export declare class Ticket {
readonly tkt_vno: asn1.INTEGER;
readonly realm: Realm;
readonly sname: PrincipalName;
readonly enc_part: EncryptedData;
constructor(tkt_vno: asn1.INTEGER, realm: Realm, sname: PrincipalName, enc_part: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_Ticket: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_Ticket: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_Ticket: __utils.ComponentSpec[];
export declare function _decode_Ticket(el: asn1.ASN1Element): Ticket;
export declare function _encode_Ticket(value: Ticket, elGetter: __utils.ASN1Encoder<Ticket>): asn1.ASN1Element;
export declare class KDC_REQ_BODY {
readonly kdc_options: KDCOptions;
readonly cname: asn1.OPTIONAL<PrincipalName>;
readonly realm: Realm;
readonly sname: asn1.OPTIONAL<PrincipalName>;
readonly from_: asn1.OPTIONAL<KerberosTime>;
readonly till: KerberosTime;
readonly rtime: asn1.OPTIONAL<KerberosTime>;
readonly nonce: UInt32;
readonly etype: Int32[];
readonly addresses: asn1.OPTIONAL<HostAddresses>;
readonly enc_authorization_data: asn1.OPTIONAL<EncryptedData>;
readonly additional_tickets: asn1.OPTIONAL<Ticket[]>;
constructor(kdc_options: KDCOptions, cname: asn1.OPTIONAL<PrincipalName>, realm: Realm, sname: asn1.OPTIONAL<PrincipalName>, from_: asn1.OPTIONAL<KerberosTime>, till: KerberosTime, rtime: asn1.OPTIONAL<KerberosTime>, nonce: UInt32, etype: Int32[], addresses: asn1.OPTIONAL<HostAddresses>, enc_authorization_data: asn1.OPTIONAL<EncryptedData>, additional_tickets: asn1.OPTIONAL<Ticket[]>);
}
export declare const _root_component_type_list_1_spec_for_KDC_REQ_BODY: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KDC_REQ_BODY: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KDC_REQ_BODY: __utils.ComponentSpec[];
export declare function _decode_KDC_REQ_BODY(el: asn1.ASN1Element): KDC_REQ_BODY;
export declare function _encode_KDC_REQ_BODY(value: KDC_REQ_BODY, elGetter: __utils.ASN1Encoder<KDC_REQ_BODY>): asn1.ASN1Element;
export declare class KDC_REQ {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly padata: asn1.OPTIONAL<PA_DATA[]>;
readonly req_body: KDC_REQ_BODY;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, padata: asn1.OPTIONAL<PA_DATA[]>, req_body: KDC_REQ_BODY);
}
export declare const _root_component_type_list_1_spec_for_KDC_REQ: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KDC_REQ: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KDC_REQ: __utils.ComponentSpec[];
export declare function _decode_KDC_REQ(el: asn1.ASN1Element): KDC_REQ;
export declare function _encode_KDC_REQ(value: KDC_REQ, elGetter: __utils.ASN1Encoder<KDC_REQ>): asn1.ASN1Element;
export declare type AS_REQ = KDC_REQ;
export declare function _decode_AS_REQ(el: asn1.ASN1Element): KDC_REQ;
export declare function _encode_AS_REQ(value: AS_REQ, elGetter: __utils.ASN1Encoder<AS_REQ>): asn1.ASN1Element;
export declare type TGS_REQ = KDC_REQ;
export declare function _decode_TGS_REQ(el: asn1.ASN1Element): KDC_REQ;
export declare function _encode_TGS_REQ(value: TGS_REQ, elGetter: __utils.ASN1Encoder<TGS_REQ>): asn1.ASN1Element;
export declare class KDC_REP {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly padata: asn1.OPTIONAL<PA_DATA[]>;
readonly crealm: Realm;
readonly cname: PrincipalName;
readonly ticket: Ticket;
readonly enc_part: EncryptedData;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, padata: asn1.OPTIONAL<PA_DATA[]>, crealm: Realm, cname: PrincipalName, ticket: Ticket, enc_part: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_KDC_REP: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KDC_REP: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KDC_REP: __utils.ComponentSpec[];
export declare function _decode_KDC_REP(el: asn1.ASN1Element): KDC_REP;
export declare function _encode_KDC_REP(value: KDC_REP, elGetter: __utils.ASN1Encoder<KDC_REP>): asn1.ASN1Element;
export declare type AS_REP = KDC_REP;
export declare function _decode_AS_REP(el: asn1.ASN1Element): KDC_REP;
export declare function _encode_AS_REP(value: AS_REP, elGetter: __utils.ASN1Encoder<AS_REP>): asn1.ASN1Element;
export declare type TGS_REP = KDC_REP;
export declare function _decode_TGS_REP(el: asn1.ASN1Element): KDC_REP;
export declare function _encode_TGS_REP(value: TGS_REP, elGetter: __utils.ASN1Encoder<TGS_REP>): asn1.ASN1Element;
export declare class LastReq_Item {
readonly lr_type: Int32;
readonly lr_value: KerberosTime;
constructor(lr_type: Int32, lr_value: KerberosTime);
}
export declare const _root_component_type_list_1_spec_for_LastReq_Item: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_LastReq_Item: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_LastReq_Item: __utils.ComponentSpec[];
export declare function _decode_LastReq_Item(el: asn1.ASN1Element): LastReq_Item;
export declare function _encode_LastReq_Item(value: LastReq_Item, elGetter: __utils.ASN1Encoder<LastReq_Item>): asn1.ASN1Element;
export declare type LastReq = LastReq_Item[];
export declare function _decode_LastReq(el: asn1.ASN1Element): LastReq;
export declare function _encode_LastReq(value: LastReq, elGetter: __utils.ASN1Encoder<LastReq>): asn1.ASN1Element;
export declare class EncKDCRepPart {
readonly key: EncryptionKey;
readonly last_req: LastReq;
readonly nonce: UInt32;
readonly key_expiration: asn1.OPTIONAL<KerberosTime>;
readonly flags: TicketFlags;
readonly authtime: KerberosTime;
readonly starttime: asn1.OPTIONAL<KerberosTime>;
readonly endtime: KerberosTime;
readonly renew_till: asn1.OPTIONAL<KerberosTime>;
readonly srealm: Realm;
readonly sname: PrincipalName;
readonly caddr: asn1.OPTIONAL<HostAddresses>;
constructor(key: EncryptionKey, last_req: LastReq, nonce: UInt32, key_expiration: asn1.OPTIONAL<KerberosTime>, flags: TicketFlags, authtime: KerberosTime, starttime: asn1.OPTIONAL<KerberosTime>, endtime: KerberosTime, renew_till: asn1.OPTIONAL<KerberosTime>, srealm: Realm, sname: PrincipalName, caddr: asn1.OPTIONAL<HostAddresses>);
}
export declare const _root_component_type_list_1_spec_for_EncKDCRepPart: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncKDCRepPart: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncKDCRepPart: __utils.ComponentSpec[];
export declare function _decode_EncKDCRepPart(el: asn1.ASN1Element): EncKDCRepPart;
export declare function _encode_EncKDCRepPart(value: EncKDCRepPart, elGetter: __utils.ASN1Encoder<EncKDCRepPart>): asn1.ASN1Element;
export declare type EncASRepPart = EncKDCRepPart;
export declare function _decode_EncASRepPart(el: asn1.ASN1Element): EncKDCRepPart;
export declare function _encode_EncASRepPart(value: EncASRepPart, elGetter: __utils.ASN1Encoder<EncASRepPart>): asn1.ASN1Element;
export declare type EncTGSRepPart = EncKDCRepPart;
export declare function _decode_EncTGSRepPart(el: asn1.ASN1Element): EncKDCRepPart;
export declare function _encode_EncTGSRepPart(value: EncTGSRepPart, elGetter: __utils.ASN1Encoder<EncTGSRepPart>): asn1.ASN1Element;
export declare type APOptions = KerberosFlags;
export declare function _decode_APOptions(el: asn1.ASN1Element): Uint8ClampedArray;
export declare function _encode_APOptions(value: APOptions, elGetter: __utils.ASN1Encoder<APOptions>): asn1.ASN1Element;
export declare class AP_REQ {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly ap_options: APOptions;
readonly ticket: Ticket;
readonly authenticator: EncryptedData;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, ap_options: APOptions, ticket: Ticket, authenticator: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_AP_REQ: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AP_REQ: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AP_REQ: __utils.ComponentSpec[];
export declare function _decode_AP_REQ(el: asn1.ASN1Element): AP_REQ;
export declare function _encode_AP_REQ(value: AP_REQ, elGetter: __utils.ASN1Encoder<AP_REQ>): asn1.ASN1Element;
export declare class Checksum {
readonly cksumtype: Int32;
readonly checksum: asn1.OCTET_STRING;
constructor(cksumtype: Int32, checksum: asn1.OCTET_STRING);
}
export declare const _root_component_type_list_1_spec_for_Checksum: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_Checksum: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_Checksum: __utils.ComponentSpec[];
export declare function _decode_Checksum(el: asn1.ASN1Element): Checksum;
export declare function _encode_Checksum(value: Checksum, elGetter: __utils.ASN1Encoder<Checksum>): asn1.ASN1Element;
export declare type Microseconds = asn1.INTEGER;
export declare function _decode_Microseconds(el: asn1.ASN1Element): number;
export declare function _encode_Microseconds(value: Microseconds, elGetter: __utils.ASN1Encoder<Microseconds>): asn1.ASN1Element;
export declare class Authenticator {
readonly authenticator_vno: asn1.INTEGER;
readonly crealm: Realm;
readonly cname: PrincipalName;
readonly cksum: asn1.OPTIONAL<Checksum>;
readonly cusec: Microseconds;
readonly ctime: KerberosTime;
readonly subkey: asn1.OPTIONAL<EncryptionKey>;
readonly seq_number: asn1.OPTIONAL<UInt32>;
readonly authorization_data: asn1.OPTIONAL<AuthorizationData>;
constructor(authenticator_vno: asn1.INTEGER, crealm: Realm, cname: PrincipalName, cksum: asn1.OPTIONAL<Checksum>, cusec: Microseconds, ctime: KerberosTime, subkey: asn1.OPTIONAL<EncryptionKey>, seq_number: asn1.OPTIONAL<UInt32>, authorization_data: asn1.OPTIONAL<AuthorizationData>);
}
export declare const _root_component_type_list_1_spec_for_Authenticator: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_Authenticator: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_Authenticator: __utils.ComponentSpec[];
export declare function _decode_Authenticator(el: asn1.ASN1Element): Authenticator;
export declare function _encode_Authenticator(value: Authenticator, elGetter: __utils.ASN1Encoder<Authenticator>): asn1.ASN1Element;
export declare class AP_REP {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly enc_part: EncryptedData;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, enc_part: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_AP_REP: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AP_REP: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AP_REP: __utils.ComponentSpec[];
export declare function _decode_AP_REP(el: asn1.ASN1Element): AP_REP;
export declare function _encode_AP_REP(value: AP_REP, elGetter: __utils.ASN1Encoder<AP_REP>): asn1.ASN1Element;
export declare class EncAPRepPart {
readonly ctime: KerberosTime;
readonly cusec: Microseconds;
readonly subkey: asn1.OPTIONAL<EncryptionKey>;
readonly seq_number: asn1.OPTIONAL<UInt32>;
constructor(ctime: KerberosTime, cusec: Microseconds, subkey: asn1.OPTIONAL<EncryptionKey>, seq_number: asn1.OPTIONAL<UInt32>);
}
export declare const _root_component_type_list_1_spec_for_EncAPRepPart: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncAPRepPart: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncAPRepPart: __utils.ComponentSpec[];
export declare function _decode_EncAPRepPart(el: asn1.ASN1Element): EncAPRepPart;
export declare function _encode_EncAPRepPart(value: EncAPRepPart, elGetter: __utils.ASN1Encoder<EncAPRepPart>): asn1.ASN1Element;
export declare class KRB_SAFE_BODY {
readonly user_data: asn1.OCTET_STRING;
readonly timestamp: asn1.OPTIONAL<KerberosTime>;
readonly usec: asn1.OPTIONAL<Microseconds>;
readonly seq_number: asn1.OPTIONAL<UInt32>;
readonly s_address: HostAddress;
readonly r_address: asn1.OPTIONAL<HostAddress>;
constructor(user_data: asn1.OCTET_STRING, timestamp: asn1.OPTIONAL<KerberosTime>, usec: asn1.OPTIONAL<Microseconds>, seq_number: asn1.OPTIONAL<UInt32>, s_address: HostAddress, r_address: asn1.OPTIONAL<HostAddress>);
}
export declare const _root_component_type_list_1_spec_for_KRB_SAFE_BODY: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KRB_SAFE_BODY: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KRB_SAFE_BODY: __utils.ComponentSpec[];
export declare function _decode_KRB_SAFE_BODY(el: asn1.ASN1Element): KRB_SAFE_BODY;
export declare function _encode_KRB_SAFE_BODY(value: KRB_SAFE_BODY, elGetter: __utils.ASN1Encoder<KRB_SAFE_BODY>): asn1.ASN1Element;
export declare class KRB_SAFE {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly safe_body: KRB_SAFE_BODY;
readonly cksum: Checksum;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, safe_body: KRB_SAFE_BODY, cksum: Checksum);
}
export declare const _root_component_type_list_1_spec_for_KRB_SAFE: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KRB_SAFE: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KRB_SAFE: __utils.ComponentSpec[];
export declare function _decode_KRB_SAFE(el: asn1.ASN1Element): KRB_SAFE;
export declare function _encode_KRB_SAFE(value: KRB_SAFE, elGetter: __utils.ASN1Encoder<KRB_SAFE>): asn1.ASN1Element;
export declare class KRB_PRIV {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly enc_part: EncryptedData;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, enc_part: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_KRB_PRIV: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KRB_PRIV: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KRB_PRIV: __utils.ComponentSpec[];
export declare function _decode_KRB_PRIV(el: asn1.ASN1Element): KRB_PRIV;
export declare function _encode_KRB_PRIV(value: KRB_PRIV, elGetter: __utils.ASN1Encoder<KRB_PRIV>): asn1.ASN1Element;
export declare class EncKrbPrivPart {
readonly user_data: asn1.OCTET_STRING;
readonly timestamp: asn1.OPTIONAL<KerberosTime>;
readonly usec: asn1.OPTIONAL<Microseconds>;
readonly seq_number: asn1.OPTIONAL<UInt32>;
readonly s_address: HostAddress;
readonly r_address: asn1.OPTIONAL<HostAddress>;
constructor(user_data: asn1.OCTET_STRING, timestamp: asn1.OPTIONAL<KerberosTime>, usec: asn1.OPTIONAL<Microseconds>, seq_number: asn1.OPTIONAL<UInt32>, s_address: HostAddress, r_address: asn1.OPTIONAL<HostAddress>);
}
export declare const _root_component_type_list_1_spec_for_EncKrbPrivPart: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncKrbPrivPart: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncKrbPrivPart: __utils.ComponentSpec[];
export declare function _decode_EncKrbPrivPart(el: asn1.ASN1Element): EncKrbPrivPart;
export declare function _encode_EncKrbPrivPart(value: EncKrbPrivPart, elGetter: __utils.ASN1Encoder<EncKrbPrivPart>): asn1.ASN1Element;
export declare class KRB_CRED {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly tickets: Ticket[];
readonly enc_part: EncryptedData;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, tickets: Ticket[], enc_part: EncryptedData);
}
export declare const _root_component_type_list_1_spec_for_KRB_CRED: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KRB_CRED: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KRB_CRED: __utils.ComponentSpec[];
export declare function _decode_KRB_CRED(el: asn1.ASN1Element): KRB_CRED;
export declare function _encode_KRB_CRED(value: KRB_CRED, elGetter: __utils.ASN1Encoder<KRB_CRED>): asn1.ASN1Element;
export declare class KrbCredInfo {
readonly key: EncryptionKey;
readonly prealm: asn1.OPTIONAL<Realm>;
readonly pname: asn1.OPTIONAL<PrincipalName>;
readonly flags: asn1.OPTIONAL<TicketFlags>;
readonly authtime: asn1.OPTIONAL<KerberosTime>;
readonly starttime: asn1.OPTIONAL<KerberosTime>;
readonly endtime: asn1.OPTIONAL<KerberosTime>;
readonly renew_till: asn1.OPTIONAL<KerberosTime>;
readonly srealm: asn1.OPTIONAL<Realm>;
readonly sname: asn1.OPTIONAL<PrincipalName>;
readonly caddr: asn1.OPTIONAL<HostAddresses>;
constructor(key: EncryptionKey, prealm: asn1.OPTIONAL<Realm>, pname: asn1.OPTIONAL<PrincipalName>, flags: asn1.OPTIONAL<TicketFlags>, authtime: asn1.OPTIONAL<KerberosTime>, starttime: asn1.OPTIONAL<KerberosTime>, endtime: asn1.OPTIONAL<KerberosTime>, renew_till: asn1.OPTIONAL<KerberosTime>, srealm: asn1.OPTIONAL<Realm>, sname: asn1.OPTIONAL<PrincipalName>, caddr: asn1.OPTIONAL<HostAddresses>);
}
export declare const _root_component_type_list_1_spec_for_KrbCredInfo: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KrbCredInfo: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KrbCredInfo: __utils.ComponentSpec[];
export declare function _decode_KrbCredInfo(el: asn1.ASN1Element): KrbCredInfo;
export declare function _encode_KrbCredInfo(value: KrbCredInfo, elGetter: __utils.ASN1Encoder<KrbCredInfo>): asn1.ASN1Element;
export declare class EncKrbCredPart {
readonly ticket_info: KrbCredInfo[];
readonly nonce: asn1.OPTIONAL<UInt32>;
readonly timestamp: asn1.OPTIONAL<KerberosTime>;
readonly usec: asn1.OPTIONAL<Microseconds>;
readonly s_address: asn1.OPTIONAL<HostAddress>;
readonly r_address: asn1.OPTIONAL<HostAddress>;
constructor(ticket_info: KrbCredInfo[], nonce: asn1.OPTIONAL<UInt32>, timestamp: asn1.OPTIONAL<KerberosTime>, usec: asn1.OPTIONAL<Microseconds>, s_address: asn1.OPTIONAL<HostAddress>, r_address: asn1.OPTIONAL<HostAddress>);
}
export declare const _root_component_type_list_1_spec_for_EncKrbCredPart: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncKrbCredPart: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncKrbCredPart: __utils.ComponentSpec[];
export declare function _decode_EncKrbCredPart(el: asn1.ASN1Element): EncKrbCredPart;
export declare function _encode_EncKrbCredPart(value: EncKrbCredPart, elGetter: __utils.ASN1Encoder<EncKrbCredPart>): asn1.ASN1Element;
export declare class KRB_ERROR {
readonly pvno: asn1.INTEGER;
readonly msg_type: asn1.INTEGER;
readonly ctime: asn1.OPTIONAL<KerberosTime>;
readonly cusec: asn1.OPTIONAL<Microseconds>;
readonly stime: KerberosTime;
readonly susec: Microseconds;
readonly error_code: Int32;
readonly crealm: asn1.OPTIONAL<Realm>;
readonly cname: asn1.OPTIONAL<PrincipalName>;
readonly realm: Realm;
readonly sname: PrincipalName;
readonly e_text: asn1.OPTIONAL<KerberosString>;
readonly e_data: asn1.OPTIONAL<asn1.OCTET_STRING>;
constructor(pvno: asn1.INTEGER, msg_type: asn1.INTEGER, ctime: asn1.OPTIONAL<KerberosTime>, cusec: asn1.OPTIONAL<Microseconds>, stime: KerberosTime, susec: Microseconds, error_code: Int32, crealm: asn1.OPTIONAL<Realm>, cname: asn1.OPTIONAL<PrincipalName>, realm: Realm, sname: PrincipalName, e_text: asn1.OPTIONAL<KerberosString>, e_data: asn1.OPTIONAL<asn1.OCTET_STRING>);
}
export declare const _root_component_type_list_1_spec_for_KRB_ERROR: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_KRB_ERROR: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_KRB_ERROR: __utils.ComponentSpec[];
export declare function _decode_KRB_ERROR(el: asn1.ASN1Element): KRB_ERROR;
export declare function _encode_KRB_ERROR(value: KRB_ERROR, elGetter: __utils.ASN1Encoder<KRB_ERROR>): asn1.ASN1Element;
export declare type METHOD_DATA = PA_DATA[];
export declare function _decode_METHOD_DATA(el: asn1.ASN1Element): METHOD_DATA;
export declare function _encode_METHOD_DATA(value: METHOD_DATA, elGetter: __utils.ASN1Encoder<METHOD_DATA>): asn1.ASN1Element;
export declare class TYPED_DATA_Item {
readonly data_type: Int32;
readonly data_value: asn1.OPTIONAL<asn1.OCTET_STRING>;
constructor(data_type: Int32, data_value: asn1.OPTIONAL<asn1.OCTET_STRING>);
}
export declare const _root_component_type_list_1_spec_for_TYPED_DATA_Item: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_TYPED_DATA_Item: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_TYPED_DATA_Item: __utils.ComponentSpec[];
export declare function _decode_TYPED_DATA_Item(el: asn1.ASN1Element): TYPED_DATA_Item;
export declare function _encode_TYPED_DATA_Item(value: TYPED_DATA_Item, elGetter: __utils.ASN1Encoder<TYPED_DATA_Item>): asn1.ASN1Element;
export declare type TYPED_DATA = TYPED_DATA_Item[];
export declare function _decode_TYPED_DATA(el: asn1.ASN1Element): TYPED_DATA;
export declare function _encode_TYPED_DATA(value: TYPED_DATA, elGetter: __utils.ASN1Encoder<TYPED_DATA>): asn1.ASN1Element;
export declare type PA_ENC_TIMESTAMP = EncryptedData;
export declare function _decode_PA_ENC_TIMESTAMP(el: asn1.ASN1Element): EncryptedData;
export declare function _encode_PA_ENC_TIMESTAMP(value: PA_ENC_TIMESTAMP, elGetter: __utils.ASN1Encoder<PA_ENC_TIMESTAMP>): asn1.ASN1Element;
export declare class PA_ENC_TS_ENC {
readonly patimestamp: KerberosTime;
readonly pausec: asn1.OPTIONAL<Microseconds>;
constructor(patimestamp: KerberosTime, pausec: asn1.OPTIONAL<Microseconds>);
}
export declare const _root_component_type_list_1_spec_for_PA_ENC_TS_ENC: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PA_ENC_TS_ENC: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PA_ENC_TS_ENC: __utils.ComponentSpec[];
export declare function _decode_PA_ENC_TS_ENC(el: asn1.ASN1Element): PA_ENC_TS_ENC;
export declare function _encode_PA_ENC_TS_ENC(value: PA_ENC_TS_ENC, elGetter: __utils.ASN1Encoder<PA_ENC_TS_ENC>): asn1.ASN1Element;
export declare class ETYPE_INFO_ENTRY {
readonly etype: Int32;
readonly salt: asn1.OPTIONAL<asn1.OCTET_STRING>;
constructor(etype: Int32, salt: asn1.OPTIONAL<asn1.OCTET_STRING>);
}
export declare const _root_component_type_list_1_spec_for_ETYPE_INFO_ENTRY: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_ETYPE_INFO_ENTRY: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_ETYPE_INFO_ENTRY: __utils.ComponentSpec[];
export declare function _decode_ETYPE_INFO_ENTRY(el: asn1.ASN1Element): ETYPE_INFO_ENTRY;
export declare function _encode_ETYPE_INFO_ENTRY(value: ETYPE_INFO_ENTRY, elGetter: __utils.ASN1Encoder<ETYPE_INFO_ENTRY>): asn1.ASN1Element;
export declare type ETYPE_INFO = ETYPE_INFO_ENTRY[];
export declare function _decode_ETYPE_INFO(el: asn1.ASN1Element): ETYPE_INFO;
export declare function _encode_ETYPE_INFO(value: ETYPE_INFO, elGetter: __utils.ASN1Encoder<ETYPE_INFO>): asn1.ASN1Element;
export declare class ETYPE_INFO2_ENTRY {
readonly etype: Int32;
readonly salt: asn1.OPTIONAL<KerberosString>;
readonly s2kparams: asn1.OPTIONAL<asn1.OCTET_STRING>;
constructor(etype: Int32, salt: asn1.OPTIONAL<KerberosString>, s2kparams: asn1.OPTIONAL<asn1.OCTET_STRING>);
}
export declare const _root_component_type_list_1_spec_for_ETYPE_INFO2_ENTRY: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_ETYPE_INFO2_ENTRY: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_ETYPE_INFO2_ENTRY: __utils.ComponentSpec[];
export declare function _decode_ETYPE_INFO2_ENTRY(el: asn1.ASN1Element): ETYPE_INFO2_ENTRY;
export declare function _encode_ETYPE_INFO2_ENTRY(value: ETYPE_INFO2_ENTRY, elGetter: __utils.ASN1Encoder<ETYPE_INFO2_ENTRY>): asn1.ASN1Element;
export declare type ETYPE_INFO2 = ETYPE_INFO2_ENTRY[];
export declare function _decode_ETYPE_INFO2(el: asn1.ASN1Element): ETYPE_INFO2;
export declare function _encode_ETYPE_INFO2(value: ETYPE_INFO2, elGetter: __utils.ASN1Encoder<ETYPE_INFO2>): asn1.ASN1Element;
export declare type AD_IF_RELEVANT = AuthorizationData;
export declare function _decode_AD_IF_RELEVANT(el: asn1.ASN1Element): AuthorizationData;
export declare function _encode_AD_IF_RELEVANT(value: AD_IF_RELEVANT, elGetter: __utils.ASN1Encoder<AD_IF_RELEVANT>): asn1.ASN1Element;
export declare class AD_KDCIssued {
readonly ad_checksum: Checksum;
readonly i_realm: asn1.OPTIONAL<Realm>;
readonly i_sname: asn1.OPTIONAL<PrincipalName>;
readonly elements: AuthorizationData;
constructor(ad_checksum: Checksum, i_realm: asn1.OPTIONAL<Realm>, i_sname: asn1.OPTIONAL<PrincipalName>, elements: AuthorizationData);
}
export declare const _root_component_type_list_1_spec_for_AD_KDCIssued: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AD_KDCIssued: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AD_KDCIssued: __utils.ComponentSpec[];
export declare function _decode_AD_KDCIssued(el: asn1.ASN1Element): AD_KDCIssued;
export declare function _encode_AD_KDCIssued(value: AD_KDCIssued, elGetter: __utils.ASN1Encoder<AD_KDCIssued>): asn1.ASN1Element;
export declare class AD_AND_OR {
readonly condition_count: Int32;
readonly elements: AuthorizationData;
constructor(condition_count: Int32, elements: AuthorizationData);
}
export declare const _root_component_type_list_1_spec_for_AD_AND_OR: __utils.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AD_AND_OR: __utils.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AD_AND_OR: __utils.ComponentSpec[];
export declare function _decode_AD_AND_OR(el: asn1.ASN1Element): AD_AND_OR;
export declare function _encode_AD_AND_OR(value: AD_AND_OR, elGetter: __utils.ASN1Encoder<AD_AND_OR>): asn1.ASN1Element;
export declare type AD_MANDATORY_FOR_KDC = AuthorizationData;
export declare function _decode_AD_MANDATORY_FOR_KDC(el: asn1.ASN1Element): AuthorizationData;
export declare function _encode_AD_MANDATORY_FOR_KDC(value: AD_MANDATORY_FOR_KDC, elGetter: __utils.ASN1Encoder<AD_MANDATORY_FOR_KDC>): asn1.ASN1Element;
//# sourceMappingURL=KerberosV5Spec2.d.ts.map