rsa.n3
2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@base <http://www.w3.org/ns/auth/rsa> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix dc: <http://purl.org/dc/terms/>.
@prefix cert: <cert#> .
@prefix : <rsa#> .
<rsa> a owl:Ontology ;
dc:created "2008-11-13"^^xsd:date;
foaf:maker <http://bblfish.net/people/henry/card#me>;
dc:contributor [ foaf:homepage <http://ii.uwb.edu.pl/~dtomaszuk/card> ] ;
vs:term_status "unstable";
rdfs:seeAlso <http://en.wikipedia.org/wiki/RSA>;
rdfs:seeAlso <http://lists.foaf-project.org/mailman/listinfo/foaf-protocols>;
rdfs:seeAlso <X509Uml.svg>;
rdfs:comment "ontology for the RSA public private keys "@en .
:RSAKey a owl:Class;
rdfs:label "RSA Key"@en;
rdfs:subClassOf cert:Key;
vs:term_status "unstable";
rdfs:comment """
The union of the public and private components of an RSAKey.
Usually those pieces are not kept together
"""@en.
:RSAPublicKey a owl:Class;
rdfs:label "RSA Public Key"@en;
rdfs:subClassOf cert:PublicKey, :RSAKey;
vs:term_status "unstable";
rdfs:seeAlso <http://en.wikipedia.org/wiki/RSA>;
rdfs:comment """
The RSA public key. Padded message m are encrypted by applying the function
modulus(power(m,exponent),modulus)
"""@en .
:modulus a owl:DatatypeProperty;
rdfs:label "modulus"@en;
vs:term_status "unstable";
rdfs:comment """
The modulus of an RSA public and private key.
This is defined as n = p*q
"""@en;
rdfs:domain :RSAKey;
rdfs:range cert:int .
:public_exponent a owl:DatatypeProperty;
rdfs:label "public_exponent"@en;
vs:term_status "unstable";
rdfs:comment """
The exponent used to encrypt the message. Number chosen between
1 and the totient(p*q). Often named 'e' .
"""@en;
rdfs:domain :RSAPublicKey;
rdfs:range cert:int .
:RSAPrivateKey a owl:Class;
rdfs:label "RSA Private Key"@en;
rdfs:subClassOf cert:PrivateKey, :RSAKey;
vs:term_status "unstable";
rdfs:seeAlso <http://en.wikipedia.org/wiki/RSA>;
rdfs:comment """
A Private Key in the RSA framework
"""@en.
:private_exponent a owl:DatatypeProperty ;
rdfs:label "private"@en;
vs:term_status "unstable";
rdfs:comment """
The exponent used to decrypt the message
calculated as
public_exponent*private_exponent = 1 modulo totient(p*q)
The private exponent is often named 'd'
"""@en;
rdfs:domain :RSAPrivateKey;
rdfs:range cert:int .