VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/doc/man3/DSA_size.pod@ 94081

最後變更 在這個檔案從94081是 91772,由 vboxsync 提交於 3 年 前

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

檔案大小: 1.2 KB
 
1=pod
2
3=head1 NAME
4
5DSA_size, DSA_bits, DSA_security_bits - get DSA signature size, key bits or security bits
6
7=head1 SYNOPSIS
8
9 #include <openssl/dsa.h>
10
11 int DSA_size(const DSA *dsa);
12 int DSA_bits(const DSA *dsa);
13 int DSA_security_bits(const DSA *dsa);
14
15=head1 DESCRIPTION
16
17DSA_size() returns the maximum size of an ASN.1 encoded DSA signature
18for key B<dsa> in bytes. It can be used to determine how much memory must
19be allocated for a DSA signature.
20
21B<dsa-E<gt>q> must not be B<NULL>.
22
23DSA_bits() returns the number of bits in key B<dsa>: this is the number
24of bits in the B<p> parameter.
25
26DSA_security_bits() returns the number of security bits of the given B<dsa>
27key. See L<BN_security_bits(3)>.
28
29=head1 RETURN VALUES
30
31DSA_size() returns the signature size in bytes.
32
33DSA_bits() returns the number of bits in the key.
34
35=head1 SEE ALSO
36
37L<DSA_new(3)>, L<DSA_sign(3)>
38
39=head1 COPYRIGHT
40
41Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
42
43Licensed under the OpenSSL license (the "License"). You may not use
44this file except in compliance with the License. You can obtain a copy
45in the file LICENSE in the source distribution or at
46L<https://www.openssl.org/source/license.html>.
47
48=cut
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette