pubkey_cert
Functions
verify_data(DER::binary()) -> {md5 | sha, binary(), binary()}
init_validation_state(OTPCertificate::#'OTPCertificate'{}, DefaultPathLen::integer(), Options::list()) -> #path_validation_state{}
prepare_for_next_cert(OTPCertificate::#'OTPCertificate'{}, Path_validation_state::#path_validation_state{}) -> #path_validation_state{}
validate_time(OTPCertificate::#'OTPCertificate'{}, UserState::term(), VerifyFun::function()) -> term()
validate_issuer(OTPCertificate::#'OTPCertificate'{}, Issuer::term(), UserState::term(), VerifyFun::function()) -> term()
validate_signature(OTPCertificate::#'OTPCertificate'{}, DER::binary(), Key::term(), KeyParams::term(), UserState::term(), VerifyFun::function()) -> term()
validate_names(OTPCertificate::#'OTPCertificate'{}, Permit::no_constraints | list(), Exclude::list(), Last::term(), UserState::term(), VerifyFun::function()) -> term()
validate_extensions(OTPCertificate::#'OTPCertificate'{}, Path_validation_state::#path_validation_state{}, UserState::term(), VerifyFun::function()) -> {#path_validation_state{}, UserState::term()}
normalize_general_name(X1::{rdnSequence, term()}) -> {rdnSequence, term()}
is_self_signed(OTPCertificate::#'OTPCertificate'{}) -> boolean()
is_issuer(Issuer::{rdnSequence, term()}, Candidate::{rdnSequence, term()}) -> boolean()
issuer_id(OTPCertificate::#'OTPCertificate'{}, X2::self | other) -> {ok, {integer(), term()}} | {error, issuer_not_found}
is_fixed_dh_cert(OTPCertificate::#'OTPCertificate'{}) -> boolean()
verify_fun(OTPCertificate::#'OTPCertificate'{}, Result::{bad_cert, atom()} | {extension, #'Extension'{}} | valid | valid_peer, UserState0::term(), VerifyFun::function()) -> term()
select_extension(Oid::tuple(), Extension::[#'Extension'{}]) -> #'Extension'{} | undefined
match_name(X1, Name, Rest) -> term()
extensions_list(Extensions) -> term()
time_str_2_gregorian_sec(X1) -> term()
cert_auth_key_id(AuthorityKeyIdentifier) -> term()
View Functions
- verify_data/1
- init_validation_state/2
- prepare_for_next_cert/2
- validate_time/2
- validate_issuer/2
- validate_signature/2
- validate_names/2
- validate_extensions/3
- normalize_general_name/2
- is_self_signed/1
- is_issuer/2
- issuer_id/2
- is_fixed_dh_cert/1
- verify_fun/3
- select_extension/1
- match_name/3
- extensions_list/1
- time_str_2_gregorian_sec/1
- cert_auth_key_id/1