1Net::DNS::SEC::RSA(3) User Contributed Perl DocumentationNet::DNS::SEC::RSA(3)
2
3
4
6 Net::DNS::SEC::RSA - DNSSEC RSA digital signature algorithm
7
9 require Net::DNS::SEC::RSA;
10
11 $signature = Net::DNS::SEC::RSA->sign( $sigdata, $private );
12
13 $validated = Net::DNS::SEC::RSA->verify( $sigdata, $keyrr, $sigbin );
14
16 Implementation of RSA digital signature generation and verification
17 procedures.
18
19 sign
20 $signature = Net::DNS::SEC::RSA->sign( $sigdata, $private );
21
22 Generates the wire-format signature from the sigdata octet string and
23 the appropriate private key object.
24
25 verify
26 $validated = Net::DNS::SEC::RSA->verify( $sigdata, $keyrr, $sigbin );
27
28 Verifies the signature over the sigdata octet string using the
29 specified public key resource record.
30
32 Thanks are due to Eric Young and the many developers and contributors
33 to the OpenSSL cryptographic library.
34
36 Copyright (c)2014,2018 Dick Franks.
37
38 All rights reserved.
39
41 Permission to use, copy, modify, and distribute this software and its
42 documentation for any purpose and without fee is hereby granted,
43 provided that the above copyright notice appear in all copies and that
44 both that copyright notice and this permission notice appear in
45 supporting documentation, and that the name of the author not be used
46 in advertising or publicity pertaining to distribution of the software
47 without specific prior written permission.
48
49 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
50 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
51 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
52 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
53 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
54 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
55 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
56
58 Net::DNS, Net::DNS::SEC, RFC8017, RFC3110, OpenSSL
59 <http://www.openssl.org/docs>
60
61
62
63perl v5.34.0 2021-07-22 Net::DNS::SEC::RSA(3)