Skip to content

Commit 7321de2

Browse files
committed
Indent SYNOPIS
Signed-off-by: Wesley Schwengle <waterkip@cpan.org>
1 parent 326d823 commit 7321de2

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

README

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ NAME
22
XML::Enc - XML::Enc Encryption Support
33

44
VERSION
5-
version 0.12
5+
version 0.13
66

77
SYNOPSIS
88
my $decrypter = XML::Enc->new(
9-
{
10-
key => 't/sign-private.pem',
11-
no_xml_declaration => 1,
12-
},
13-
);
9+
{
10+
key => 't/sign-private.pem',
11+
no_xml_declaration => 1,
12+
},
13+
);
1414
$decrypted = $enc->decrypt($xml);
1515

1616
my $encrypter = XML::Enc->new(
17-
{
18-
cert => 't/sign-certonly.pem',
19-
no_xml_declaration => 1,
20-
data_enc_method => 'aes256-cbc',
21-
key_transport => 'rsa-1_5',
22-
23-
},
24-
);
17+
{
18+
cert => 't/sign-certonly.pem',
19+
no_xml_declaration => 1,
20+
data_enc_method => 'aes256-cbc',
21+
key_transport => 'rsa-1_5',
22+
23+
},
24+
);
2525
$encrypted = $enc->encrypt($xml);
2626

2727
NAME

lib/XML/Enc.pm

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ XML::Enc - XML Encryption
2727
=head1 SYNOPSIS
2828
2929
my $decrypter = XML::Enc->new(
30-
{
31-
key => 't/sign-private.pem',
32-
no_xml_declaration => 1,
33-
},
34-
);
30+
{
31+
key => 't/sign-private.pem',
32+
no_xml_declaration => 1,
33+
},
34+
);
3535
$decrypted = $enc->decrypt($xml);
3636
3737
my $encrypter = XML::Enc->new(
38-
{
39-
cert => 't/sign-certonly.pem',
40-
no_xml_declaration => 1,
41-
data_enc_method => 'aes256-cbc',
42-
key_transport => 'rsa-1_5',
43-
44-
},
45-
);
38+
{
39+
cert => 't/sign-certonly.pem',
40+
no_xml_declaration => 1,
41+
data_enc_method => 'aes256-cbc',
42+
key_transport => 'rsa-1_5',
43+
44+
},
45+
);
4646
$encrypted = $enc->encrypt($xml);
4747
4848
=head1 METHODS

0 commit comments

Comments
 (0)